TransitionResult
Defined in: types.ts:224
The outcome of checking a transition.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
allowed | boolean | Whether the transition would be accepted. | types.ts:226 |
error? | string | Why it was rejected. | types.ts:228 |
newMode | string | The target mode if allowed, otherwise the current one. | types.ts:230 |
sideEffects? | Action[] | The onExit and onEnter actions the transition would run. | types.ts:232 |