Add a new hook handler in the specified state and hook type.
If an hook already exist with the same combination of state and hookType it will be replaced.
The state associated to this hook
The hook type
The executed handler
Return true if a transition exist from the current state to the new state, false otherwise
The new state
Return all the states involved at least in one transition
Return the reachable states from the current one
Return the current state
Generated using TypeDoc
The public APIs of the IStateMachine