@ExperimentalTime data class TimedValue<T>
Data class representing a result of executing an action, along with the duration of elapsed time interval.
Data class representing a result of executing an action, along with the duration of elapsed time interval.
TimedValue(value: T, duration: Duration)
the time elapsed to execute the action.
val duration: Duration
the result of the action.
val value: T
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.time/-timed-value/index.html