AgentClosingEvent

data class AgentClosingEvent(val agentId: String, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)

Represents an event that signifies the closure or termination of an AI agent identified by a unique agentId.

Constructors

Link copied to clipboard
constructor(agentId: String, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard

The unique identifier of the AI agent;

Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard
open override val timestamp: Long

The timestamp of the event, in milliseconds since the Unix epoch.