Patrick Steiger
04/25/2023, 12:57 PMsupervisorScope
kdoc states that A failure of the scope itself (exception thrown in the block or external cancellation)
… does not cancel parent job
Is that really the case though ? I’m finding it hard to provide a code example where a failure of the supervisorScope job itself does not cancel the parent.gildor
04/25/2023, 3:45 PMPatrick Steiger
04/25/2023, 3:48 PMgildor
04/25/2023, 3:59 PMgildor
04/25/2023, 4:03 PMPatrick Steiger
04/25/2023, 4:29 PMcoroutineScope
WRT cancellation of parent when the scope own job fails — they both fail the parent (unless parent itself is a supervisor?)
So I’d love to see an explanation of semantics here or just a code snippet demonstrating what docs meangildor
04/25/2023, 4:30 PMPatrick Steiger
04/25/2023, 7:06 PM