Skip to content

Store

Module @netwiv/api/plugins/stronghold · Kind Class

import { Store } from '@netwiv/api/plugins/stronghold';
new Store(path: string, client: ClientPath)
client: ClientPath
get(key: StoreKey): Promise<Uint8Array<ArrayBufferLike> | null>
insert(key: StoreKey, value: number[], lifetime?: Duration | undefined): Promise<void>
path: string
remove(key: StoreKey): Promise<Uint8Array<ArrayBufferLike> | null>

Descriptions come from the pinned @tauri-apps/plugin-stronghold@2.3.2 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.