Skip to content
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

Return Promise From initDB #66

Open
f3rno64 opened this issue Sep 22, 2023 · 0 comments
Open

Return Promise From initDB #66

f3rno64 opened this issue Sep 22, 2023 · 0 comments

Comments

@f3rno64
Copy link

f3rno64 commented Sep 22, 2023

Currently, the promise that wraps the indexedDB request handling DB open and store creation is not returned from the function, so it is impossible to know when the DB is initialized.

Can this be changed?

https://github.com/assuncaocharles/react-indexed-db/blob/master/src/indexed-hooks.ts#L33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant