- Preparing search index...
- The search index is not available
Documentation
Interface LocalCacheStorage
Methods
getAllKeys
- getAllKeys(): Promise<readonly string[] | string[]>
-
Returns Promise<readonly string[] | string[]>
getItem
- getItem(key: string): Promise<null | string>
-
Returns Promise<null | string>
Optional
multiRemove
- multiRemove(keys: string[]): Promise<void>
-
Returns Promise<void>
Optional
multiSet
- multiSet(keyValuePairs: KeyValuePairSet[]): Promise<void>
-
Returns Promise<void>
removeItem
- removeItem(key: string): Promise<void>
-
Returns Promise<void>
setItem
- setItem(key: string, value: string): Promise<void>
-
Parameters
-
key: string
-
value: string
Returns Promise<void>