https://kotlinlang.org logo
#coroutines
Title
# coroutines
r

rocketraman

03/29/2018, 5:47 PM
I haven't used coroutines much yet, but theoretically why not something like
computations.forEach { it.await() }.map(tToR)
?
v

Vsevolod Tolstopyatov [JB]

03/29/2018, 8:13 PM
good implementation of
awaitAll
should fail when any of jobs fails, which is not true for
forEach { it.await() }
6 Views