blocking

suspend fun <T> blocking(block: suspend CoroutineScope.() -> T): T(source)

Makes an "inappropriate blocking method call" appropriate.

See also

Dispatchers.IO
withContext