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

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

    FsmStateAction: (
        params:
            | ParamsOf<FsmEntryAction<State, Events, E, Context>>
            | ParamsOf<FsmExitAction<State, Events, E, Context>>,
    ) => void

    Callback type that is compatible with both FsmEntryAction and FsmExitAction.

    The parameters are the same for both types, except that meta differs depending on whether the callback is invoked as an entry or exit action.

    Type Parameters

    Type Declaration