• Returns all actions (transition actions, entry actions, exit actions, etc.) for the provided root and all descendants.

    Returns

    All actions for the provided Machine or StateNode and all descendants.

    Type Parameters

    • TContext

    • TStateSchema extends StateSchema<any, TStateSchema>

    • TEvent extends EventObject

    • TStateMachine extends StateMachine<TContext, TStateSchema, TEvent, any, any, any, ResolveTypegenMeta<TypegenDisabled, NoInfer<TEvent>, any, any>, TStateMachine>

    • TStateNode extends StateNode<TContext, TStateSchema, TEvent, any, any, any, TStateNode>

    Parameters

    • root: TStateMachine | TStateNode

      Machine or StateNode to get all actions for.

    Returns ActionObject<TContext, TEvent>[]

Generated using TypeDoc