Skip to content
docs

JsonStorage

Defined in: table.ts:6

One JSON value under one key — the shape every small store needs (AsyncStorage, chrome.storage, memory).

T

get(): Promise<T | null>

Defined in: table.ts:8

The stored value, or null on first run.

Promise<T | null>


set(value): Promise<void>

Defined in: table.ts:10

Persist the value.

T

Promise<void>