awaitIdle

suspend fun TestSwrClient.awaitIdle(context: CoroutineContext = EmptyCoroutineContext, timeout: Duration = 1.seconds)(source)

Suspends until the TestSwrClient is idle.