Kotlin Async vs Launch
Kotlin_version = '1.2.41'
I am pretty new to Kotlin. I would like to know what's the difference between async and launch. Especially in the following code
import kotlinx.coroutines.experimental.async
import kotlinx.coroutines.experimental.awaitAll
import kotlinx.coroutines.experimental.delay
import kotlinx.coroutines.experimental.launch
import kotlinx.coroutines.experimental.runBlocking
fun main(args: Array) {
runBlocking {
(20..30).forEach {
launch{...