跳转到内容

BaseInMemoryKVStore

定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:26

new BaseInMemoryKVStore(): BaseInMemoryKVStore

BaseInMemoryKVStore

BaseKVStore.constructor

static fromPersistPath(persistPath): BaseInMemoryKVStore

定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:28

string

BaseInMemoryKVStore


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

定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:16

string

StoredValue

string

Promise<void>

BaseKVStore.put


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

定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:21

string

string

Promise<StoredValue>

BaseKVStore.get


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

定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:22

string

Promise<Record<string, StoredValue>>

BaseKVStore.getAll


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

定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:23

string

string

Promise<boolean>

BaseKVStore.delete


abstract persist(persistPath): void

定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:27

string

void