Methods
clear
- clear(): Promise<void>
Returns Promise<void>
createInstance
- createInstance(config): Cache
getAllKeys
- getAllKeys(): Promise<string[]>
Returns Promise<string[]>
getCurrentCacheSize
- getCurrentCacheSize(): Promise<number>
Returns Promise<number>
getItem
- getItem(key, options?): Promise<any>
Returns Promise<any>
removeItem
- removeItem(key): Promise<void>
Returns Promise<void>
setItem
- setItem(key, value, options?): Promise<void>
Returns Promise<void>
Cache Interface