neworldlt10/07/2019, 10:04 AM
still cancels parent job? Let assume this example: https://pl.kotl.in/DlU1vaR2T. If you comment out
part, launch's job will stay active
louiscad10/07/2019, 10:32 AM
(handling exceptions/errors outside of it).
is meant for "paralellization". The goal is to cancel concurrent coroutines of the scope if one fails, so you don't keep doing work that will eventually be dropped. That is structured concurrency benefits… and gotchas. But the efficiency and corectness benefits largely outweigh that gotcha.
neworldlt10/07/2019, 10:46 AM
. Wrapping parallelization into local scope looks good approach