TransientCollection
Several readings per environment, one per publishing mark.
@internote/canvas-sdkOn this page
import { TransientCollection } from '@internote/canvas-sdk';#Fields
setPublishes a member's reading under its key, or takes it away with
null.voidsnapshotReturns every member's reading, in insertion order. The array is stable between changes.
readonly T[]subscribeCalls the listener after every real change to this environment's collection, and returns the unsubscribe.
() => voidDeclared in packages/canvas-sdk/src/storage/transient.ts:127.