targetModeModel
consttargetModeModel: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-target-mode";initial:"live";states: {live: {on: {pause: {target:"paused"; }; }; };paused: {on: {resume: {target:"live"; }; }; }; }; }>
Defined in: packages/core/src/state-machine/index.ts:510
Pausing is a mode beside the send lifecycle, not a fourth send state: a send already in flight still settles, and the target holds the queued snapshot once it is idle again.
live ◀──resume──▶ pausedType Declaration
Section titled “Type Declaration”states
Section titled “states”states:
object
states.id
Section titled “states.id”
readonlyid:"arona/message-target-mode"="arona/message-target-mode"
states.initial
Section titled “states.initial”
readonlyinitial:"live"="live"
states.states
Section titled “states.states”
readonlystates:object
states.states.live
Section titled “states.states.live”
readonlylive:object
states.states.live.on
Section titled “states.states.live.on”
readonlyon:object
states.states.live.on.pause
Section titled “states.states.live.on.pause”
readonlypause:object
states.states.live.on.pause.target
Section titled “states.states.live.on.pause.target”
readonlytarget:"paused"="paused"
states.states.paused
Section titled “states.states.paused”
readonlypaused:object
states.states.paused.on
Section titled “states.states.paused.on”
readonlyon:object
states.states.paused.on.resume
Section titled “states.states.paused.on.resume”
readonlyresume:object
states.states.paused.on.resume.target
Section titled “states.states.paused.on.resume.target”
readonlytarget:"live"="live"