MachineFields
What a machine’s trait holds besides its context.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Value |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
history |
MachineHistory |
Where each history state goes back to. |
paused |
Record<string, number> |
The seconds each wait was left at before it ended, by its state’s id, which a history state brings back. |
state |
Value |
The state it is in, as XState writes a value. |
waited |
number |
Seconds spent in the current state’s wait; 0 where it has none. |