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)

Methods

Methods