Home
last modified time | relevance | path

Searched refs:orCancellation (Results 1 – 1 of 1) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DJob.kt534 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