The signature for Transition State Hooks.
The signature for Transition State Hooks.
A function which hooks into a lifecycle event for a specific state.
Transition State Hooks are callback functions that hook into the lifecycle events of specific states during a transition. As a transition runs, it may exit some states, retain (keep) states, and enter states. As each lifecycle event occurs, the hooks which are registered for the event and that state are called (in priority order).
the current Transition
the State that the hook is bound to
a HookResult which may alter the transition
Generated using TypeDoc
The signature for Transition State Hooks.
A function which hooks into a lifecycle event for a specific state.
Transition State Hooks are callback functions that hook into the lifecycle events of specific states during a transition. As a transition runs, it may exit some states, retain (keep) states, and enter states. As each lifecycle event occurs, the hooks which are registered for the event and that state are called (in priority order).