As a proof that your main thread is not blocked wh...
# coroutines
e
As a proof that your main thread is not blocked while you do
it.await()
change your
runBlocking
block to:
Copy code
runBlocking {
    launch(context) { // launch another coroutine in the context of this thread 
       while (true) {
            println(”I’m not blocked!”)
            delay(100)
       }
    }
    jobs.forEach {
        val r = it.await()
        println("Got response for ${r.first} - ${r.second}")
    }
}