Interface ActorUpdateParameters<A, M>

Configuration to make calls to the Replica.

interface ActorUpdateParameters<A, M> {
    agent?: utils.agent.Agent;
    pollingStrategyFactory?: utils.agent.polling.PollStrategyFactory;
    canisterId?: string | types.Principal;
    effectiveCanisterId?: types.Principal;
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
}

Type Parameters

Hierarchy (view full)

Properties

agent?: utils.agent.Agent

An agent to use in this call, otherwise the actor or call will try to discover the agent to use.

pollingStrategyFactory?: utils.agent.polling.PollStrategyFactory

A polling strategy factory that dictates how much and often we should poll the read_state endpoint to get the result of an update call.

canisterId?: string | types.Principal

The canister ID of this Actor.

effectiveCanisterId?: types.Principal

The effective canister ID. This should almost always be ignored.

functionName: M