Replies: 4 comments 3 replies
-
Personally, I've been favouring WebAPI Streams. So I've already been wrapping iterators with my own code to make them API ReadableStream. Given the examples above, mine would be comparable to If I'm pragmatic - adding it to abstract-leveldown is the path of least resistance and least breaking changes, while achieving your goal of getting rid of levelup. |
Beta Was this translation helpful? Give feedback.
-
I'd like to propose an option that isn't on this list: use async iteration, on iterators |
Beta Was this translation helpful? Give feedback.
-
I closed the poll. Thanks for voting! Most folks are in favor of removing streams. Some folks still want to use them, so I will write a standalone module (tracked in Level/abstract-level#2 until it has its own repo) and an upgrade guide for folks that will be migrating from a |
Beta Was this translation helpful? Give feedback.
-
To follow up: you can now choose between |
Beta Was this translation helpful? Give feedback.
-
In a world without
levelup
(#58), what would you like to do with streams?Edit: poll is closed (2021-12-10).
for await...of db.iterator()
streams(db); db.createReadStream()
createReadStream(db)
level-iterator-stream
:stream(db.iterator())
abstract-leveldown
(temporarily to ease migration)abstract-leveldown
(usingstreamx
)abstract-leveldown
Beta Was this translation helpful? Give feedback.
All reactions