kotlin-stdlib / kotlin.time / TimedValue / duration duration Common JVM JS Native 1.0 val duration: Duration(source) the time elapsed to execute the action. Property duration - the time elapsed to execute the action.