interface ICache { allKeys?(): MaybePromise<string[]>; get<T>(key): MaybePromise<undefined | T>; remove(key): MaybePromise<void>; set<T>(key,
entry): MaybePromise<void>; } Methods
Optional
allKeys
- allKeys(): MaybePromise<string[]>
Returns MaybePromise<string[]>
get
- get<T>(key): MaybePromise<undefined | T>
Returns MaybePromise<undefined | T>
remove
- remove(key): MaybePromise<void>
Returns MaybePromise<void>
set
- set<T>(key, entry): MaybePromise<void>
Returns MaybePromise<void>