Header menu logo Nao

LifecycleEvent Type

Events emitted during lifecycle transitions

Union cases

Union case Description

Completed(agentId, output, timestamp)

Full Usage: Completed(agentId, output, timestamp)

Parameters:
agentId : AgentId
output : string
timestamp : DateTimeOffset

Failed(agentId, error, timestamp)

Full Usage: Failed(agentId, error, timestamp)

Parameters:
agentId : AgentId
error : string
timestamp : DateTimeOffset

Initialized(agentId, timestamp)

Full Usage: Initialized(agentId, timestamp)

Parameters:
agentId : AgentId
timestamp : DateTimeOffset

Resumed(agentId, timestamp)

Full Usage: Resumed(agentId, timestamp)

Parameters:
agentId : AgentId
timestamp : DateTimeOffset

Started(agentId, input, timestamp)

Full Usage: Started(agentId, input, timestamp)

Parameters:
agentId : AgentId
input : string
timestamp : DateTimeOffset

Suspended(agentId, reason, timestamp)

Full Usage: Suspended(agentId, reason, timestamp)

Parameters:
agentId : AgentId
reason : string
timestamp : DateTimeOffset

Terminated(agentId, reason, timestamp)

Full Usage: Terminated(agentId, reason, timestamp)

Parameters:
agentId : AgentId
reason : string
timestamp : DateTimeOffset

Instance members

Instance member Description

this.IsCompleted

Full Usage: this.IsCompleted

Returns: bool
Returns: bool

this.IsFailed

Full Usage: this.IsFailed

Returns: bool
Returns: bool

this.IsInitialized

Full Usage: this.IsInitialized

Returns: bool
Returns: bool

this.IsResumed

Full Usage: this.IsResumed

Returns: bool
Returns: bool

this.IsStarted

Full Usage: this.IsStarted

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.