You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md).
35
43
36
44
## API
37
45
38
-
### `concat(iterator, cb)`
46
+
### `concat(iterator[, callback])`
39
47
40
-
Takes an `abstract-leveldown` compatible `iterator` as first parameter and calls back with an array of keys and values. Calls back with an error if `iterator.next(cb)` or `iterator.end(cb)` errors.
48
+
Takes an `abstract-leveldown` compatible `iterator` as first parameter and calls the `callback`with an array of entries, where each entry is an object in the form `{ key, value }`. Calls the `callback`with an error if `iterator.next()` or `iterator.end()` errors. If no callback is provided, a promise is returned.
0 commit comments