BeforeAgentStartedHandler

Functional interface to define a handler that is invoked before an agent starts. This handler allows custom pre-start logic to be executed with access to the provided agent start context and associated feature.

Parameters

TFeature

The type of the feature associated with the agent.

Functions

Link copied to clipboard
abstract suspend fun handle(context: AgentStartContext<TFeature>)

Handles operations to be performed before an agent is started. Provides access to the context containing information about the agent's strategy, feature, and related configurations.