# 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>

- Defined in rivetkit-typescript/packages/rivetkit/src/client/actor-common.ts:12