setTimeout

fun setTimeout(value: Duration)

Java: sets timeout.