JSSM, a JavaScript state machine - the FSM for FSL
    Preparing search index...

    Type Alias JssmGenericMachine<DataType>

    Minimal machine description used internally and accepted by some lower-level constructors. Most callers should use the richer JssmGenericConfig instead.

    type JssmGenericMachine<DataType> = {
        allow_empty?: boolean;
        allow_force?: boolean;
        allow_islands?: boolean;
        check?: JssmStatePermitterMaybeArray<DataType>;
        data?: DataType;
        keep_history?: boolean | number;
        max_transitions?: number;
        min_transitions?: number;
        name?: string;
        nodes?: StateType[];
        state: StateType;
        transitions: JssmTransitions<StateType, DataType>;
    }

    Type Parameters

    • DataType
    Index
    allow_empty?: boolean
    allow_force?: boolean
    allow_islands?: boolean
    data?: DataType
    keep_history?: boolean | number
    max_transitions?: number
    min_transitions?: number
    name?: string
    nodes?: StateType[]
    state: StateType