sleep

fun sleep(sleepTime: Duration)

Suspends the current thread for the specified Duration.

Parameters

sleepTime

the duration to sleep