ixfx
    Preparing search index...

    Type Alias MachineState<V>

    MachineState: {
        machine: {
            readonly [key in StateNames<V>]: ReadonlyArray<StateTargetStrict<V>>
        };
        value: StateNames<V>;
        visited: ReadonlyArray<StateNames<V>>;
    }

    Encapsulation of a 'running' machine description and state.

    See:

    Type Parameters

    Type declaration

    • Readonlymachine: { readonly [key in StateNames<V>]: ReadonlyArray<StateTargetStrict<V>> }
    • Readonlyvalue: StateNames<V>

      Current state

    • Readonlyvisited: ReadonlyArray<StateNames<V>>

      List of unique states visited. Won't contain the current state unless it has already been visited.