createActor static method
Implementation
static CanisterActor createActor(
ServiceClass idl, HttpAgent agent, Principal canisterId) {
return Actor.createActor(
idl, ActorConfig.fromMap({"canisterId": canisterId, "agent": agent}));
}
static CanisterActor createActor(
ServiceClass idl, HttpAgent agent, Principal canisterId) {
return Actor.createActor(
idl, ActorConfig.fromMap({"canisterId": canisterId, "agent": agent}));
}