Documentation
    Preparing search index...

    Type Alias ActorActionFunction<Args, Response>

    ActorActionFunction: (
        ...args: Args extends [unknown, ...(infer Rest)] ? Rest : Args,
    ) => Promise<Response>

    Action function returned by Actor connections and handles.

    Type Parameters

    • Args extends unknown[] = unknown[]
    • Response = unknown

    Type Declaration

      • (
            ...args: Args extends [unknown, ...(infer Rest)] ? Rest : Args,
        ): Promise<Response>
      • Parameters

        • ...args: Args extends [unknown, ...(infer Rest)] ? Rest : Args

          Arguments for the action function.

        Returns Promise<Response>