Given a job `job` that was cancelled, cancellation...
# coroutines
n
Given a job
job
that was cancelled, cancellation could have been generated either from within
job
(e.g. with
job.cancel
, or one of its descendants) or by some parent job up the hierarchy. Is there any way to disambiguate between these two cases? I saw that
JobCancellationException
has a nice
job
field, but it’s not public.