This commit is contained in:
2026-01-28 00:55:06 +03:00
parent fc033be6a5
commit 25fc82c14a
1642 changed files with 101122 additions and 0 deletions

20
node_modules/generic-pool/lib/DequeIterator.js generated vendored Normal file
View File

@ -0,0 +1,20 @@
"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;