types_src.keyvaluecache
#
Interface: KeyValueCache<V\>types/src.KeyValueCache
#
Type parametersName | Default |
---|---|
V | string |
#
Hierarchy- KeyValueCache
#
Implemented by#
Table of contents#
Methods#
Methods#
deleteâ–¸ delete(key
: string): Promise<boolean | void\>
#
Parameters:Name | Type |
---|---|
key | string |
Returns: Promise<boolean | void\>
Defined in: node_modules/fetchache/index.d.ts:14
#
getâ–¸ get(key
: string): Promise<V\>
#
Parameters:Name | Type |
---|---|
key | string |
Returns: Promise<V\>
Defined in: node_modules/fetchache/index.d.ts:12
#
setâ–¸ set(key
: string, value
: V, options?
: KeyValueCacheSetOptions): Promise<void\>
#
Parameters:Name | Type |
---|---|
key | string |
value | V |
options? | KeyValueCacheSetOptions |
Returns: Promise<void\>
Defined in: node_modules/fetchache/index.d.ts:13