cache_localforage_src.default

Class: default<V\>#

cache/localforage/src.default

Type parameters#

NameDefault
Vstring

Hierarchy#

  • default

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new default<V\>(config?: LocalforageConfig): default<V\>

Type parameters:#

NameDefault
Vstring

Parameters:#

NameType
config?LocalforageConfig

Returns: default<V\>

Defined in: packages/cache/localforage/src/index.ts:4

Methods#

delete#

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

Parameters:#

NameType
keystring

Returns: Promise<void\>

Implementation of: KeyValueCache

Defined in: packages/cache/localforage/src/index.ts:34


get#

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

Parameters:#

NameType
keystring

Returns: Promise<V\>

Implementation of: KeyValueCache

Defined in: packages/cache/localforage/src/index.ts:18


set#

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

Parameters:#

NameType
keystring
valueV
options?KeyValueCacheSetOptions

Returns: Promise<void\>

Defined in: packages/cache/localforage/src/index.ts:26