agent/actor library
Classes
- Actor
- An actor base class. An actor is an object containing only functions that will return a promise. These functions are derived from the IDL definition.
- ActorConfig
- Configuration that can be passed to customize the Actor behaviour.
- ActorMetadata
- Internal metadata for actors. It's an enhanced version of ActorConfig with some fields marked as required (as they are defaulted) and canisterId as a Principal type.
- ActorMethod
- CallConfig
- CanisterActor
- FieldOptions
Enums
Functions
-
decodeReturnValue(
List< CType> types, BinaryBlob msg) → dynamic
Typedefs
- ActorConstructor = CanisterActor Function(ActorConfig config)
- CreateActorMethod = ActorMethod Function(Actor actor, String methodName, Func func)
- MethodCaller = Future Function(CallConfig options, List args)