Optional
Readonly
next?: StateNames<V> | booleanOptional
Readonly
reset?: booleanIf true, resets the machine.
This flag is 1st priority, taking precedence over the next
field.
Optional
Readonly
score?: numberScore of this result. This is used when a state has multiple handlers returning results separately. If not defined, 0 is used.
If specified,the state to transition to. Use true to attempt to automatically advance machine. This field is 2nd priority.