javaApiOnAgentClosing
fun javaApiOnAgentClosing(handler: ERROR CLASS: Symbol not found for Interceptor<ERROR CLASS: Symbol not found for AgentClosingContext>)(source)
Appends a handler called before an agent is closed. This allows for additional behavior to be executed prior to the agent being closed.