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

Async StorageAdapter #250

Open
wanderer opened this issue Nov 28, 2024 · 1 comment
Open

Async StorageAdapter #250

wanderer opened this issue Nov 28, 2024 · 1 comment

Comments

@wanderer
Copy link

Would it be possible to have an StorageAdapter that used async methods in order to wrap indexeddb?

@oliver-oloughlin
Copy link
Owner

I definitely think it would be possible to expand the SotrageAdapter to accepts async methods. As for IndexedDB, it's something I have thought about and want to support, but am not sure as of now what is the best approach. I'm unsure if making it work through the StorageAdapter and MapKv is possible/most practical, or if it needs a separate adapter entirely. I will look into this, thanks for raising the issue!

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

2 participants