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)

Methods

Methods