David Glasser
08/21/2019, 5:56 PMsupervisorScope
. (Lots of questions this morning!)
JobSupport.childCancelled
claims that it has this invariant:
* Invariant: never returns `false` for instances of [CancellationException], otherwise such exception
* may leak to the [CoroutineExceptionHandler].
but SupervisorCoroutine's override always returns false, even for CancellationException? Mostly I'm trying to understand if with CoroutineExceptionHandler/supervisorScope I need my handler to ignore CancellationException. (I think the answer appears to be no from my tests — the CEH never gets the CancellationException, right?)Vsevolod Tolstopyatov [JB]
08/22/2019, 8:34 AM