invokeOnAgentClosing

abstract suspend fun invokeOnAgentClosing(eventContext: AgentClosingContext)(source)

Invokes the handler associated with the event that occurs before an agent is closed.