Skip to content

rootModeModel

const rootModeModel: StateMachine<never, { type: string; }, {[key: string]: AnyActor; }, "live" | "paused", string, unknown, { }, { type: string; }, never, object & object, Record<string, (…args) => void | { children?: any; context?: any; }>, Record<string, AnyActorLogic>, Record<string, Function>, Record<string, number | Function>, never, never> & object & MachineIdentity<{ id: "arona/message-root-mode"; initial: "live"; states: { live: { on: { pause: { target: "paused"; }; }; }; paused: { on: { resume: { target: "live"; }; }; }; }; }>

Defined in: packages/core/src/state-machine/index.ts:594

A root drops interactions and holds live edits while paused; closing the root is the separate lifecycle in rootModel.

live ◀──resume──▶ paused

states: object

readonly id: "arona/message-root-mode" = "arona/message-root-mode"

readonly initial: "live" = "live"

readonly states: object

readonly live: object

readonly on: object

readonly pause: object

readonly target: "paused" = "paused"

readonly paused: object

readonly on: object

readonly resume: object

readonly target: "live" = "live"