CanvasStorage

The storage an environment sees as ctx.storage, assembled by the host from its declaration.

@internote/canvas-sdkInterface
On this page
import { CanvasStorage } from '@internote/canvas-sdk';

#Fields

dbRequired
The durable per-reader store. A store that keeps nothing unless the declaration asked for session+db, so writes can be unconditional.
KeyValueStorage
sessionRequired
The environment's reading-session state: survives scroll-away and rides continue:, never persisted.
EnvironmentSessionState<S>

Declared in packages/canvas-sdk/src/storage/index.ts:60.

Last updated