Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActorConfig

Configuration that can be passed to customize the Actor behaviour.

Hierarchy

Index

Properties

agent?: Agent

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

blsVerify?: VerifyFunc

Polyfill for BLS Certificate verification in case wasm is not supported

canisterId: string | Principal

The Canister ID of this Actor. This is required for an Actor.

effectiveCanisterId?: Principal

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

pollingStrategyFactory?: 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.

Methods

  • callTransform(methodName: string, args: unknown[], callConfig: CallConfig): void | Partial<CallConfig>
  • queryTransform(methodName: string, args: unknown[], callConfig: CallConfig): void | Partial<CallConfig>

Generated using TypeDoc