Interface for storage backend used in ChunkManagerConfig.
The interface is modelled on Async Storage from react-native-community.
▸ getItem(key): Promise<undefined | null | string>
Gets the data for the key.
| Name | Type |
|---|---|
key |
string |
Promise<undefined | null | string>
▸ removeItem(key): Promise<void>
Removes the item based on the key.
| Name | Type |
|---|---|
key |
string |
Promise<void>
▸ setItem(key, value): Promise<void>
Sets the item value based on the key.
| Name | Type |
|---|---|
key |
string |
value |
string |
Promise<void>