interceptStrategyCompleted
fun interceptStrategyCompleted(feature: AIAgentFeature<*, *>, handle: suspend (StrategyCompletedContext) -> Unit)(source)
Sets up an interceptor to handle the completion of a strategy for the given feature.
Parameters
feature
The feature associated with this handler.
handle
A suspend function that processes the completion of a strategy.
Example:
pipeline.interceptStrategyCompleted(feature) { event ->
// Handle the completion of the strategy here
}
Content copied to clipboard