elapsed

abstract fun elapsed(): Duration

The duration for how long we've currently been measuring the traffic in this channel. This value is essentially just LocalDateTime.now minus startDateTime. The JvmSynthetic annotation is implied, since Duration is a value class, it would not be visible from Java anyway.

Return

the duration that has elapsed since the traffic began measuring, or was last reset.