Type Parameters

Constructors

Properties

_actor: any
_idlFactory: any
_agentManager: any
_unsubscribeAgent: any
_subscribers: any
canisterId: string
actorStore: types.ActorStore<A>
visitFunction: types.VisitService<A>
methodAttributes: types.MethodAttributes<A>
updateState: any
updateMethodState: ((method, hash, newState) => void)

Type declaration

initialize: ((options?) => Promise<void>)

Type declaration

extractInterface: (() => types.IDL.ServiceClass)

Type declaration

extractMethodAttributes: (() => types.MethodAttributes<A>)

Type declaration

extractVisitor: (() => types.VisitService<A>)

Type declaration

initializeActor: any
_getActorMethod: any
callMethod: (<M>(functionName, ...args) => Promise<types.ActorMethodReturnType<A[M]>>)

Type declaration

callMethodWithOptions: ((options) => (<M>(functionName, ...args) => Promise<types.ActorMethodReturnType<A[M]>>))

Type declaration

getActor: (() => null | A)

Type declaration

    • (): null | A
    • Returns null | A

getState: (() => types.ActorState<A>)

Type declaration

subscribeActorState: ((listener) => (() => void))

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

setState: NamedSet<types.ActorState<A>>
cleanup: (() => void)

Type declaration

    • (): void
    • Returns void

Accessors

  • get agentManager(): types.AgentManager
  • Returns types.AgentManager