<Kotlin equivalent to C# Task.WhenAll> Is there a ...
# stackoverflow
u
Kotlin equivalent to C# Task.WhenAll Is there a Kotlin Equivalent of C#'s Task.WhenAll? I came up with the code below, but I wonder if it is possible to write whenAll so that it only suspends once. fun main(args: Array) = runBlocking { println("Start") val serviceA = KotlinServiceA() val serviceB = KotlinServiceB() val deferredA = async(CommonPool) {...