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

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

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

    General FSM action callback type, compatible with all action types.

    The context, fsm, and meta parameters are always available, but the availability of the other parameters, and the meta contents, depend on how the callback is invoked.

    Type Parameters

    Type Declaration