The actions to execute while taking this transition.
Optional condThe condtion, if any guarding this transition.
Optional descriptionThe description associated with this transition.
The type of the event that will trigger this transition.
Optional inThe in-state guard guarding this transition.
Optional internalIs this an internal transition.
Optional metaThe metadata associated with this transition.
The array of target state references (e.g. "#(machine).myState").
The array of target state ids (e.g. "(machine).myState").
Generated using TypeDoc
A hybrid between an XState
TransitionConfigand aTransitionDefinition.TransitionDefinitions are unsuitable for mapping operations because they represent targets (and sources) as StateNodes, which are likely about to be changed. Instead, we ensure targets are represented as state id references and we remove sources, which are obvious from context.