This class is used to extend Automaton functionality so it can be used with React components.
ReactAutomaton always passes the host component instance to it's transition functions as the first argument.
Current state of the Automaton.
Calls transition implementation, passing the host component instance.
Resets Automaton state back to INITIAL.
This method is used by asSignal to produce signaling event handlers.
Performs a transition and calls setState if mapToState is enabled.
Generated using TypeDoc
This class is used to extend Automaton functionality so it can be used with React components.
ReactAutomaton always passes the host component instance to it's transition functions as the first argument.