Hi, is there a function that waits for multiple ta...
# coroutines
d
Hi, is there a function that waits for multiple tasks to finish and aggregates their exceptions if so?
e
.awaitAll() to wait all deferreds. but for catching all exceptions there is only proposal
d
You can use parent jobs and await the parent as in the link here, https://discuss.kotlinlang.org/t/coroutines-how-to-join-list-of-jobs/6954/4
d
you can add an exceptionHandler to catch Exception from several coroutines at once: https://geoffreymetais.github.io/code/coroutines/#coroutine-context