We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d50abd commit b085bd7Copy full SHA for b085bd7
index.js
@@ -56,7 +56,6 @@ function lte (value) {
56
return compare(value, this[kUpperBound]) <= 0
57
}
58
59
-// TODO (v2): support signal
60
class MemoryIterator extends AbstractIterator {
61
constructor (db, options) {
62
super(db, options)
@@ -285,7 +284,11 @@ class MemoryLevel extends AbstractLevel {
285
284
permanence: false,
286
createIfMissing: false,
287
errorIfExists: false,
288
- encodings: { [storeEncoding]: true }
+ encodings: { [storeEncoding]: true },
+ signals: {
289
+ // Would have no value here because the operations are synchronous
290
+ iterators: false
291
+ }
292
}, forward)
293
294
this[kTree] = createRBT(compare)
0 commit comments