bloombox / bloombox.client.services.telemetry / PingCallback

PingCallback

typealias PingCallback = (Long?) -> Unit (source)

Callback to a simple telemetry ping, which warms an RPC connection and tests latency between the invoking client and the telemetry server. In some cases, a ping can also be used to establish default context information for a newly established streaming or unary telemetry session.