reachableStates
reachableStates<
State,Event>(machine):ReadonlySet<State>
Defined in: packages/core/src/state-machine/index.ts:94
Every state reachable from machine.initial by any sequence of events.
Type Parameters
Section titled “Type Parameters”State extends string
Event extends string
Parameters
Section titled “Parameters”machine
Section titled “machine”StateMachineTable<State, Event>
Returns
Section titled “Returns”ReadonlySet<State>