Skip to main content

types_src.keyvaluecache

Interface: KeyValueCache<V\>#

types/src.KeyValueCache

Type parameters#

NameDefault
Vany

Implemented by#

Table of contents#

Methods#

Methods#

delete#

delete(key: string): Promise<boolean | void\>

Parameters:#

NameType
keystring

Returns: Promise<boolean | void\>

Defined in: node_modules/fetchache/index.d.ts:25


get#

get(key: string): Promise<V\>

Parameters:#

NameType
keystring

Returns: Promise<V\>

Defined in: node_modules/fetchache/index.d.ts:23


set#

set(key: string, value: V, options?: KeyValueCacheSetOptions): Promise<void\>

Parameters:#

NameType
keystring
valueV
options?KeyValueCacheSetOptions

Returns: Promise<void\>

Defined in: node_modules/fetchache/index.d.ts:24