@thingts/fsm-engine - v1.2.1
    Preparing search index...

    Type Alias FsmEventAction<State, Events, E, Context>

    FsmEventAction: (
        params:
            | ParamsOf<FsmBeginAction<State, Events, E, Context>>
            | ParamsOf<FsmTransitionAction<State, Events, E, Context>>,
    ) => void

    Callback type compatible with both FsmTransitionAction and FsmBeginAction.

    The parameters are the same for both types, except that meta differs depending on whether the callback is invoked as a begin action or transition action.

    Type Parameters

    Type Declaration