OptionalafterOptionalalwaysOptionalentryOptionalexitOptionalhistoryFor type: 'history'. Defaults to shallow.
OptionalinitialA compound state's initial child key. Defaults to the first non-history child.
OptionalinvokeActors that run while this state is active.
OptionalonKeys are event descriptors, as in xstate v5: an exact name, 'error.*' for error and
every error.… event, or '*' for all. (SCXML's bare-prefix matching would make
done.state.p also match done.state.p.r1; SCXML import translates to this form.)
OptionalstatesOptionaltargetFor type: 'history': entered when nothing is recorded. Defaults to the parent's initial.
Optionaltype
Delayed transitions, keyed by milliseconds or a named delay (see
delays); cancelled if the state exits first.