onAgentFinished

suspend fun onAgentFinished(strategyName: String, result: String?)(source)

Notifies all registered handlers that an agent has finished execution.

Parameters

strategyName

The name of the strategy that was executed

result

The result produced by the agent, or null if no result was produced