sceneKey

Returns the session-store key for a scene: its two ids, and a third field no environment can have.

@internote/canvas-sdkFunction
On this page
import { sceneKey } from '@internote/canvas-sdk';

@scene is not a legal node id, so a scene's own slot can never collide with the slot of an environment inside it.

#Signature

(identity: SceneIdentity): string

#Parameters

identity
The scene's internote and scene ids.

Declared in packages/canvas-sdk/src/storage/session.ts:72.

Last updated