awaitIdle

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

Suspends until the TestSwrClient is idle.