BaseInMemoryKVStore
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:26
new BaseInMemoryKVStore():
BaseInMemoryKVStore
BaseInMemoryKVStore
fromPersistPath()
Section titled “fromPersistPath()”
staticfromPersistPath(persistPath):BaseInMemoryKVStore
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:28
persistPath
Section titled “persistPath”string
BaseInMemoryKVStore
abstract放置(key,val,collection?):Promise<void>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:16
string
string
Promise<void>
abstract获取(key,collection?):Promise<StoredValue>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:21
string
string
Promise<StoredValue>
getAll()
Section titled “getAll()”
abstractgetAll(collection?):Promise<Record<string,StoredValue>>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:22
string
Promise<Record<string, StoredValue>>
delete()
Section titled “delete()”
abstract删除(key,collection?):Promise<boolean>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:23
string
string
Promise<boolean>
persist()
Section titled “persist()”
abstractpersist(persistPath):void
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:27
persistPath
Section titled “persistPath”string
void