Re: [w3c/IndexedDB] API to enumerate databases (#31)

@aliams I agree that returning a Promise is inconsistent with the rest of the IndexedDB API. I proposed the Promise approach to avoid the queueing machinery associated with [IDBRequest](https://w3c.github.io/IndexedDB/#request-api). If we used IDBRequest we'd have a null `source` and `transaction`, and might induce incorrect expectations of ordering.

If I understand correctly, @beidson and @bevis-tseng are in favor of returning a Promise. I am happy to implement either approach, and slightly favor the usability of the Promise approach. Are you opposed to the Promise approach, or just noting the inconsistency?

Thank you for your thoughts!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/31#issuecomment-324771985

Received on Thursday, 24 August 2017 22:14:33 UTC