cache_file_src.default

Class: default<V\>#

cache/file/src.default

Type parameters#

NameDefault
Vstring

Hierarchy#

  • default

Implements#

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

+ new default<V\>(__namedParameters: { path: string }): default<V\>

Type parameters:#

NameDefault
Vstring

Parameters:#

__namedParameters: object

NameType
pathstring

Returns: default<V\>

Defined in: packages/cache/file/src/index.ts:12

Properties#

absolutePath#

absolutePath: string

Defined in: packages/cache/file/src/index.ts:11


json#

json: Record<string, V\>

Defined in: packages/cache/file/src/index.ts:10


writeDataLoader#

writeDataLoader: DataLoader<any, any, any\>

Defined in: packages/cache/file/src/index.ts:12

Methods#

delete#

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

Parameters:#

NameType
namestring

Returns: Promise<void\>

Implementation of: KeyValueCache

Defined in: packages/cache/file/src/index.ts:31


get#

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

Parameters:#

NameType
namestring

Returns: Promise<V\>

Implementation of: KeyValueCache

Defined in: packages/cache/file/src/index.ts:22


set#

set(name: string, value: V): Promise<void\>

Parameters:#

NameType
namestring
valueV

Returns: Promise<void\>

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