MutkaMutka
API ReferenceSandboxAuthoringsandbox/authoring/hostProxyType aliases

CommandHandler

Reference — CommandHandler in the Mutka module API.

Type Alias: CommandHandler

type CommandHandler = (snapshot) => void | Promise<void>;

Defined in: sandbox/authoring/hostProxy.ts:16

Parameters

ParameterType
snapshotHostSnapshot

Returns

void | Promise<void>

On this page