- From: Kuzcoo <notifications@github.com>
- Date: Mon, 03 Feb 2020 10:09:34 -0800
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/IndexedDB/issues/42/581543087@github.com>
Hi, The discussion is closed but it is not explicit (from an external point of view) that the #34 discussion talks about promise based API. Is there a will to implement such feature ? I know there is a quite popular library made by @jakearchibald but I think we should as possible rely on native implementations over library dependencies. This library is pretty popular (2000+ stars), so I think there is a need. The callback way is very convoluted to the kind of web app that needs such technology as IndexedDB. As a web developer point of view not familiar with the spec, I find the indexedDB is already quite verbose to use to not benefit from the ease of the promises and by extension async/await There is the following note on this page: https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStoreSync > The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. **It may however be reintroduced in the future if there is enough demand from web developers.** I guess and I hope I am at the right place to ask 😄 Thank you -- 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/42#issuecomment-581543087
Received on Monday, 3 February 2020 18:09:36 UTC