Searched refs:orCancellation (Results 1 – 1 of 1) sorted by relevance
534 children.forEach { (it as? JobSupport)?.cancelInternal(cause.orCancellation(this)) } in cancelChildren()618 job.cancelInternal(cause.orCancellation(job)) in cancel()652 job.children.forEach { (it as? JobSupport)?.cancelInternal(cause.orCancellation(job)) } in cancelChildren()655 private fun Throwable?.orCancellation(job: Job): Throwable = this ?: JobCancellationException("Job … in Throwable() method