sleep

suspend fun sleep(duration: Duration)(source)

Suspends until duration of manual time has passed.

Parameters

duration

The manual time to wait; zero or negative returns immediately.