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: InMemoryStoreStorageAdapter

store/src.InMemoryStoreStorageAdapter

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

new InMemoryStoreStorageAdapter()

Methods#

clear#

clear(): void

Returns#

void

Defined in#

packages/store/src/index.ts:33


delete#

delete(key): Promise<void\>

Parameters#

NameType
keystring

Returns#

Promise<void\>

Implementation of#

StoreStorageAdapter.delete

Defined in#

packages/store/src/index.ts:29


read#

read<TData\>(key, options): Promise<TData\>

Type parameters#

Name
TData

Parameters#

NameType
keystring
optionsProxyOptions<any\>

Returns#

Promise<TData\>

Implementation of#

StoreStorageAdapter.read

Defined in#

packages/store/src/index.ts:21


write#

write<TData\>(key, data, options): Promise<void\>

Type parameters#

Name
TData

Parameters#

NameType
keystring
dataTData
optionsProxyOptions<any\>

Returns#

Promise<void\>

Implementation of#

StoreStorageAdapter.write

Defined in#

packages/store/src/index.ts:25