Wouldn't it be enough to add a new Job to the asyn...
# coroutines
d
Wouldn't it be enough to add a new Job to the async context @louiscad?
l
@dave08 This would break structured concurrency, so no. I use
async { … }
for parallelization. If it fails, I want to cancel the rest of the scope, but then be able to catch it from parent scope without cancelling it, which is something
coroutineScope { … }
allows me to do.