onEvent

abstract suspend fun onEvent(call: TelemetryCall, event: AgentEvent)(source)

Receives one lifecycle event for this call. Dispatch with when (event).