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?: any;
    effectiveCanisterId?: any;
    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?: any

The canister ID of this Actor.

effectiveCanisterId?: any

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

functionName: M