1 min readSep 15, 2018
We have awaitAll
that does this trick, but, as your example above shows, it is not very convenient to use, so we plan to fix this aspect of our implementation, too. See this issue for more details: https://github.com/Kotlin/kotlinx.coroutines/issues/552