Skip to main content Link Search Menu Expand Document (external link)

BrowserKeyValueStore.ts overview

Since v1.0.0


Exports Grouped by Category


models

layerLocalStorage

Creates a KeyValueStore layer that uses the browser’s localStorage api. Values are stored between sessions.

Signature

declare const layerLocalStorage: Layer.Layer<KeyValueStore.KeyValueStore>

Source

Since v1.0.0

layerSessionStorage

Creates a KeyValueStore layer that uses the browser’s sessionStorage api. Values are stored only for the current session.

Signature

declare const layerSessionStorage: Layer.Layer<KeyValueStore.KeyValueStore>

Source

Since v1.0.0