waitFor

fun waitFor(t: Double, unit: Time = Seconds): TaskBuilder

Waits t time units of unit.