Skip to content

StateMachineInspection

Defined in: StateMachine.ts:135

Inspector summary emitted when a machine is a component field.

S extends string

readonly optional duration?: number

Defined in: StateMachine.ts:127

The duration this entry is running to, when state computes its for. Saved because a computed duration belongs to the entry, not to the table.

StateMachineSaveData.duration


readonly elapsed: number

Defined in: StateMachine.ts:122

StateMachineSaveData.elapsed


readonly lastTransition: StateTransition<S> | null

Defined in: StateMachine.ts:138


readonly optional parent?: S

Defined in: StateMachine.ts:140

Absent when the current state has no parent.


readonly optional parentDuration?: number

Defined in: StateMachine.ts:131

The parent’s duration, on the same terms as duration.

StateMachineSaveData.parentDuration


readonly optional parentElapsed?: number

Defined in: StateMachine.ts:129

Seconds in the parent of state. Absent when state has no parent.

StateMachineSaveData.parentElapsed


readonly state: S

Defined in: StateMachine.ts:121

StateMachineSaveData.state

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.