The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

Interface: KeyValueCache<V\>

types/src.KeyValueCache

Type parameters#

NameType
VV = any

Implemented by#

Table of contents#

Methods#

Methods#

delete#

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

Parameters#

NameType
keystring

Returns#

Promise<boolean | void\>

Defined in#

node_modules/fetchache/index.d.ts:25


get#

get(key): Promise<V\>

Parameters#

NameType
keystring

Returns#

Promise<V\>

Defined in#

node_modules/fetchache/index.d.ts:23


set#

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

Parameters#

NameType
keystring
valueV
options?KeyValueCacheSetOptions

Returns#

Promise<void\>

Defined in#

node_modules/fetchache/index.d.ts:24