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/file/src.default

Type parameters#

NameType
VV = any

Implements#

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

new default<V\>(__namedParameters)

Type parameters#

NameType
VV = any

Parameters#

NameType
__namedParametersObject
__namedParameters.pathstring

Defined in#

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

Properties#

absolutePath#

absolutePath: string

Defined in#

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


json$#

json$: Promise<Record<string, V\>\>

Defined in#

packages/cache/file/src/index.ts:9


writeDataLoader#

writeDataLoader: DataLoader<any, any, any\>

Defined in#

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

Methods#

delete#

delete(name): Promise<void\>

Parameters#

NameType
namestring

Returns#

Promise<void\>

Implementation of#

KeyValueCache.delete

Defined in#

packages/cache/file/src/index.ts:33


get#

get(name): Promise<V\>

Parameters#

NameType
namestring

Returns#

Promise<V\>

Implementation of#

KeyValueCache.get

Defined in#

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


set#

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

Parameters#

NameType
namestring
valueV

Returns#

Promise<void\>

Implementation of#

KeyValueCache.set

Defined in#

packages/cache/file/src/index.ts:27