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

Class: default<V\>

cache/localforage/src.default

Type parameters#

NameType
VV = any

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

new default<V\>(config?)

Type parameters#

NameType
VV = any

Parameters#

NameType
config?LocalforageConfig

Defined in#

packages/cache/localforage/src/index.ts:5

Methods#

delete#

delete(key): Promise<void\>

Parameters#

NameType
keystring

Returns#

Promise<void\>

Implementation of#

KeyValueCache.delete

Defined in#

packages/cache/localforage/src/index.ts:50


get#

get(key): Promise<V\>

Parameters#

NameType
keystring

Returns#

Promise<V\>

Implementation of#

KeyValueCache.get

Defined in#

packages/cache/localforage/src/index.ts:32


set#

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

Parameters#

NameType
keystring
valueV
options?KeyValueCacheSetOptions

Returns#

Promise<void\>

Implementation of#

KeyValueCache.set

Defined in#

packages/cache/localforage/src/index.ts:41