blocking

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

Makes an "inappropriate blocking method call" appropriate.

See also

Dispatchers.IO
withContext