TransientCollection

Several readings per environment, one per publishing mark.

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

#Fields

setRequired
Publishes a member's reading under its key, or takes it away with null.
void
snapshotRequired
Returns every member's reading, in insertion order. The array is stable between changes.
readonly T[]
subscribeRequired
Calls the listener after every real change to this environment's collection, and returns the unsubscribe.
() => void

Declared in packages/canvas-sdk/src/storage/transient.ts:127.

Last updated