types_src.keyvaluecache

Interface: KeyValueCache<V\>#

types/src.KeyValueCache

Type parameters#

NameDefault
Vstring

Hierarchy#

  • KeyValueCache

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:14


get#

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

Parameters:#

NameType
keystring

Returns: Promise<V\>

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


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:13