Function getAllActionsFromDefinition

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

    Returns

    All actions for the provided StateNodeDefinition and all descendants.

    Type Parameters

    • TContext

    • TStateSchema extends StateSchema<any, TStateSchema>

    • TEvent extends EventObject

    Parameters

    • definition: StateNodeDefinition<TContext, TStateSchema, TEvent>

    Returns ActionObject<TContext, TEvent>[]

Generated using TypeDoc