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