Closed vweevers closed 2 years ago
I'm not sure whether to include this in v3 or exactly how to implement it. It can also be added in a minor later, but the thing that bothers me is that the readme states "Store large amounts of data in modern browsers". You can write large amounts of data, sure, but without backpressure, you're gonna run into trouble when reading.
@ralphtheninja thoughts?
I'd skip it for v3 so we can get level-browserify
out and later level
. Then we can work on the minor as you mentioned.
Relevant: https://github.com/Level/community/issues/63#issuecomment-455697075 and https://github.com/Level/community/issues/63#issuecomment-455759151. IMO offering proper backpressure is a higher priority now.
I now prefer that we forgo snapshotting guarantees, in favor of backpressure and avoiding a blocking transaction.
Plan:
iterator.all()
with snapshot guarantees. This offers a nice alternative.
Done in browser-level
.
Continuing from https://github.com/Level/level.js/pull/68.
TBD if this should go in v3.