Interface ActorMethodWithHttpDetails<Args, Ret>

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

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

Type Parameters

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

Hierarchy (view full)

  • Parameters

    Returns Promise<{
        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>