Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Async storage provider #35

Open
thuna-garry opened this issue Apr 11, 2022 · 3 comments
Open

Async storage provider #35

thuna-garry opened this issue Apr 11, 2022 · 3 comments

Comments

@thuna-garry
Copy link

Is there any intent to be able to support an async storage provider like localforage?

import localforage from 'localforage'

export default {
    setItem: async (key, value) => {
      return localforage.setItem(key, value)
    },
    getItem: async (key) => {
      return localforage.getItem(key)
    }
}

I did try the above without any success.

@jontybrook
Copy link

I would like this too!

@marchalb
Copy link

marchalb commented Jul 4, 2022

me too

@picasocro1
Copy link

Me too! Can't use the indexDb storage without that actually :(

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

No branches or pull requests

4 participants