Skip to content

BaseInMemoryKVStore

Defined in: .build/typescript/packages/core/src/storage/kv-store/index.ts:26

new BaseInMemoryKVStore(): BaseInMemoryKVStore

BaseInMemoryKVStore

BaseKVStore.constructor

static fromPersistPath(persistPath): BaseInMemoryKVStore

Defined in: .build/typescript/packages/core/src/storage/kv-store/index.ts:28

string

BaseInMemoryKVStore


abstract put(key, val, collection?): Promise<void>

Defined in: .build/typescript/packages/core/src/storage/kv-store/index.ts:16

string

StoredValue

string

Promise<void>

BaseKVStore.put


abstract get(key, collection?): Promise<StoredValue>

Defined in: .build/typescript/packages/core/src/storage/kv-store/index.ts:21

string

string

Promise<StoredValue>

BaseKVStore.get


abstract getAll(collection?): Promise<Record<string, StoredValue>>

Defined in: .build/typescript/packages/core/src/storage/kv-store/index.ts:22

string

Promise<Record<string, StoredValue>>

BaseKVStore.getAll


abstract delete(key, collection?): Promise<boolean>

Defined in: .build/typescript/packages/core/src/storage/kv-store/index.ts:23

string

string

Promise<boolean>

BaseKVStore.delete


abstract persist(persistPath): void

Defined in: .build/typescript/packages/core/src/storage/kv-store/index.ts:27

string

void