🚀IC Reactor v3 is here! Featuring TanStack Query integration, improved type safety, and more. View v3 Documentation →
ic-reactor
    Preparing search index...

    Interface ActorMethodExtended<Args, Ret>

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

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

    Type Parameters

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

    Hierarchy (View Summary)

    • Parameters

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

    • Parameters

      • ...args: unknown[]

      Returns Promise<unknown>

    Index

    Methods

    Methods