Declares an internal transition.
The machine remains in the current state; state exit and entry actions do not run. The optional body receives a FsmTransitionActionsBuilder for declaring transition actions.
Optionalbody: (t: FsmTransitionActionsBuilder<State, Events, Context, K>) => voidDeclares an external transition to target.
The optional body receives a FsmTransitionActionsBuilder for declaring transition actions.
If target is the current state, the machine still performs an external
transition: exit actions run, then transition actions, then entry actions.
Shared transition-declaring surface used by event builders and guarded transition builders.
Supports declaring either an external transition to another state or an internal transition that stays in the current state.