Skip to content

Commit

Permalink
Remove TODO comment about signals
Browse files Browse the repository at this point in the history
Category: none
  • Loading branch information
vweevers committed Oct 21, 2024
1 parent 1d50abd commit b085bd7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function lte (value) {
return compare(value, this[kUpperBound]) <= 0
}

// TODO (v2): support signal
class MemoryIterator extends AbstractIterator {
constructor (db, options) {
super(db, options)
Expand Down Expand Up @@ -285,7 +284,11 @@ class MemoryLevel extends AbstractLevel {
permanence: false,
createIfMissing: false,
errorIfExists: false,
encodings: { [storeEncoding]: true }
encodings: { [storeEncoding]: true },
signals: {
// Would have no value here because the operations are synchronous
iterators: false
}
}, forward)

this[kTree] = createRBT(compare)
Expand Down

0 comments on commit b085bd7

Please sign in to comment.