• Execute an action directly by name with arguments. This is used for RPC calls where functions cannot be passed.

    Type Parameters

    Parameters

    • name: T

      Action name

    • Rest...args: Parameters<ActionHandler<T>>

      Arguments to pass to the action

    Returns ReturnType<ActionHandler<T>>

    Result of the action execution

  • Type Parameters

    • T extends string

    Parameters

    Returns ReturnType<ActionHandler<T>>