TimedValue

Common
JVM
JS
Native
1.3
data class TimedValue<T>

Data class representing a result of executing an action, along with the duration of elapsed time interval.

Constructors

Common
JVM
JS
Native
1.0

<init>

Data class representing a result of executing an action, along with the duration of elapsed time interval.

TimedValue(value: T, duration: Duration)

Properties

Common
JVM
JS
Native
1.0

duration

the time elapsed to execute the action.

val duration: Duration
Common
JVM
JS
Native
1.0

value

the result of the action.

val value: T