Interface ActorMethodExtended<Args, Ret>

An actor method type, defined for each methods of the actor service.

interface ActorMethodExtended<Args, Ret> {
    withOptions(options): ((...args) => Promise<unknown>);
    (...args): Promise<{
        certificate?: utils.agent.Certificate;
        httpDetails?: utils.agent.HttpDetailsResponse;
        result: Ret;
    }>;
    (...args): Promise<unknown>;
}

Type Parameters

  • Args extends unknown[] = unknown[]
  • Ret = unknown

Hierarchy (view full)

  • Parameters

    Returns Promise<{
        certificate?: utils.agent.Certificate;
        httpDetails?: utils.agent.HttpDetailsResponse;
        result: Ret;
    }>

  • Parameters

    • Rest ...args: unknown[]

    Returns Promise<unknown>

Methods

Methods

  • Parameters

    Returns ((...args) => Promise<unknown>)

      • (...args): Promise<unknown>
      • Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>