Header menu logo Nao

LifecycleState Type

Agent lifecycle states following a state-machine model

Union cases

Union case Description

Completed

Full Usage: Completed

Agent completed its task successfully

Created

Full Usage: Created

Agent has been created but not yet initialized

Failed error

Full Usage: Failed error

Parameters:
    error : string

Agent encountered a fatal error

error : string

Ready

Full Usage: Ready

Agent is initialized and ready to accept work

Running

Full Usage: Running

Agent is currently executing a task

Suspended

Full Usage: Suspended

Agent execution is paused (can be resumed)

Terminated

Full Usage: Terminated

Agent was explicitly terminated

Instance members

Instance member Description

this.IsCompleted

Full Usage: this.IsCompleted

Returns: bool
Returns: bool

this.IsCreated

Full Usage: this.IsCreated

Returns: bool
Returns: bool

this.IsFailed

Full Usage: this.IsFailed

Returns: bool
Returns: bool

this.IsReady

Full Usage: this.IsReady

Returns: bool
Returns: bool

this.IsRunning

Full Usage: this.IsRunning

Returns: bool
Returns: bool

this.IsSuspended

Full Usage: this.IsSuspended

Returns: bool
Returns: bool

this.IsTerminated

Full Usage: this.IsTerminated

Returns: bool
Returns: bool

Type something to start searching.