AsyncStorage API of React-Native, now backed by a
new Map() instance,
npm install --save asyncstorageapi
Exactly the same as: https://facebook.github.io/react-native/docs/asyncstorage With the following exceptions:
flushGetRequestsit exists, but does absolutely nothing.
Everything else should work as intended or be considered a bug in this implementation.
- All methods are truely async.
- Supports Promise and callback based patterns.
- Merging of Objects is done deeply.
- The returned
AsyncStorageinstance is an
AsyncStorageobject only exposes the API methods, nothing more.