Interface ActorMethod<Args, Ret>

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

interface ActorMethod<Args, Ret> {
    withOptions(options): ((...args) => Promise<Ret>);
    (...args): Promise<Ret>;
}

Type Parameters

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

Hierarchy (view full)

  • Parameters

    Returns Promise<Ret>

Methods

Methods

  • Parameters

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