Performs an async transition from the current state to the new state without checking if it is possible. Events ans hooks of involved states will be invoked.
Can be used in both presence or absence of async hooks. If your hooks are sync you can consider using goto() instead.
Initialize the machine and transit to the initial state invoking all registered hooks handlers
Performs an async transition from the current state to the target state.
Can be used in both presence or absence of async hooks. If your hooks are sync you can consider using transit() instead.
The new state
Performs an async transition from the current state to the first applicable state of the transition with the specified name.
If multiple transition have the same name, the first applicable state is is picked up traversing transitions in order of declaration.
If the transition has an array in "to" the first applicable state is is picked up.
Can be used in both presence or absence of async hooks. If your hooks are sync you can consider using transitByName() instead.
Generated using TypeDoc
The public APIs of the AsyncStateMachine