sleep

abstract suspend fun sleep(t: Long)

Suspends the coroutine for a specified time in milliseconds.

This is a convenience method to ensure that the target information is updated before sleeping.

Parameters

t

Time in milliseconds to sleep.