StateMachineSaveData
Defined in: StateMachine.ts:120
Save data for a StateMachine.
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”S extends string
Properties
Section titled “Properties”duration?
Section titled “duration?”
readonlyoptionalduration?: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.
elapsed
Section titled “elapsed”
readonlyelapsed:number
Defined in: StateMachine.ts:122
parentDuration?
Section titled “parentDuration?”
readonlyoptionalparentDuration?:number
Defined in: StateMachine.ts:131
The parent’s duration, on the same terms as duration.
parentElapsed?
Section titled “parentElapsed?”
readonlyoptionalparentElapsed?:number
Defined in: StateMachine.ts:129
Seconds in the parent of state. Absent when state has no parent.
readonlystate:S
Defined in: StateMachine.ts:121
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.