awaitIdle

abstract suspend fun awaitIdle(timeoutMs: Long): Boolean

Return

true — idle наступил, false — вышли по таймауту.