ic-reactor
    Preparing search index...

    Type Alias ActorState<A>

    Represents the state of an actor.

    type ActorState<A = types.BaseActor> = {
        name: string;
        version: number;
        initialized: boolean;
        isInitialized: boolean;
        initializing: boolean;
        isInitializing: boolean;
        error: utils.agent.AgentError | undefined;
        methodState: types.ActorMethodStates<A>;
    }

    Type Parameters

    Index

    Properties

    name: string

    The name of the actor.

    version: number

    The version of the actor.

    initialized: boolean

    Use isInitialized instead. Indicates whether the actor is initialized.

    isInitialized: boolean

    Indicates whether the actor is initialized.

    initializing: boolean

    Use isInitializing instead. Indicates whether the actor is in the process of initializing.

    isInitializing: boolean

    Indicates whether the actor is in the process of initializing.

    error: utils.agent.AgentError | undefined

    The error associated with the actor, if any.

    methodState: types.ActorMethodStates<A>

    The state of the actor's methods.