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

    Type Alias JssmTransitionEventDetail<mDT>

    Detail payload fired with a transition event. Carries the resolved source and target, the action name (if the transition was driven by an action), the data observed before and after the change, the edge kind, and whether the call was a forced transition.

    type JssmTransitionEventDetail<mDT> = {
        action?: StateType;
        data: mDT;
        forced: boolean;
        from: StateType;
        next_data?: mDT;
        to: StateType;
        trans_type: string | undefined;
    }

    Type Parameters

    • mDT
    Index
    action?: StateType
    data: mDT
    forced: boolean
    from: StateType
    next_data?: mDT
    trans_type: string | undefined