Re: [w3ctag/spec-reviews] Indexed DB getAll(), openKeyCursor() and objectStoreNames (#84)

To clarify, I don't want to have an observable vs async iterator debate (neither is at Stage 3 yet), but I think async iterators, for one, would be a good fit here. As a transitional possibility before async iterators are there, it would be possible to do something analogous to streams and give cursors a `.next()` method which returns a Promise of an IterationResult. In my opinion, this is fairly clean to use directly, and it has a clear upgrade path to async iterables. I'm looking forward to hearing more from @inexorabletash 's exploration.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/spec-reviews/issues/84#issuecomment-234117412

Received on Wednesday, 20 July 2016 23:44:43 UTC