-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promise-based API #42
Comments
This also handles "unify exceptions with errors" assuming async/await syntax coming in a future edition of ECMAScript. |
+1 |
Since |
TPAC 2019 Web Apps Indexed DB triage notes: More detailed discussion over in #34 for primitives that would allow wrapping with a promise library, and KV Storage. Closing this out. |
Hi, 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. 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:
edit: Well not really sync, but with async/await it could be. I guess and I hope I am at the right place to ask 😄 Thank you |
e.g. https://github.com/inexorabletash/indexeddb-promises
The text was updated successfully, but these errors were encountered: