The correct idiom for blocking current thread and ...
# coroutines
e
The correct idiom for blocking current thread and running code in UI thread is this:
Copy code
runBlocking { withContext(UI) { ... } }