Differentiating Thread and Coroutine (launch & runBlocking) in Kotlin
With the advent of Coroutine, many wonder what’s the different between Thread and Coroutine. Instead of explaining through text, looking at codes execution might helps ease the understanding a little.
Check out each code experiments below, it might clarify things…