HeartBeatHandler

class HeartBeatHandler : StateHolder<Long?>

Functions

Link copied to clipboard
open override fun flow(): Flow<Long?>
Link copied to clipboard
fun recomputeLatency()

Utility function to recompute the latency value, usually should be called by a timer.

fun recomputeLatency(current: Instant, force: Boolean)

Utility function to recompute the latency value with a given heartbeat value

Link copied to clipboard
open override fun state(): Long?