effect-io-ai

Package: @effect/platform-browser
Module: BrowserKeyValueStore

BrowserKeyValueStore.layerSessionStorage

Creates a KeyValueStore layer that uses the browser’s sessionStorage API and stores values only for the current session.

Signature

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

Source

Since v4.0.0