Searched refs:onCancelling (Results 1 – 15 of 15) sorted by relevance
21 override fun onCancelling(cause: Throwable?) { in <lambda>() method36 coroutine.invokeOnCompletion(onCancelling = true) { in <lambda>()61 override fun onCancelling(cause: Throwable?) { in <lambda>() method76 coroutine.invokeOnCompletion(onCancelling = true) { in <lambda>()
168 job.invokeOnCompletion(onCancelling = true) { in <lambda>()
57 val onCancelling = rnd.nextBoolean() in <lambda>() constant65 … job.invokeOnCompletion(onCancelling = onCancelling, invokeImmediately = invokeImmediately) { in <lambda>()
42 val handle = job.invokeOnCompletion(onCancelling = true) { /* nothing */ } in <lambda>()
234 if (!wasCancelling) onCancelling(finalException) in <lambda>()293 onCancelling(null) // simple state is not a failure in <lambda>()329 onCancelling(cause) in <lambda>()449 invokeOnCompletion(onCancelling = false, invokeImmediately = true, handler = handler) in <lambda>()452 onCancelling: Boolean, in <lambda>()462 … val node = nodeCache ?: makeNode(handler, onCancelling).also { nodeCache = it } in <lambda>()474 if (onCancelling && state is Finishing) { in <lambda>()482 … val node = nodeCache ?: makeNode(handler, onCancelling).also { nodeCache = it } in <lambda>()496 … val node = nodeCache ?: makeNode(handler, onCancelling).also { nodeCache = it } in <lambda>()511 private fun makeNode(handler: CompletionHandler, onCancelling: Boolean): JobNode<*> { in <lambda>()[all …]
87 …override fun invokeOnCompletion(onCancelling: Boolean, invokeImmediately: Boolean, handler: Comple… in getCancellationException()
352 onCancelling: Boolean = false, in getCancellationException()
24 override fun onCancelling(cause: Throwable?) { in <lambda>() method41 coroutine.invokeOnCompletion(onCancelling = true) { in <lambda>()
97 …cancelHandle = job.invokeOnCompletion(onCancelling = true, invokeImmediately = true, handler = thi… in setup()
132 override fun onCancelling(cause: Throwable?) { in onCancelling() method
330 onCancelling = true, handler = SelectOnCancelling(parent).asHandler) in next()
363 …* New API: `CancellableContinuation.resume` with `onCancelling` lambda (#1044) to consistently han…566 * Fixed bug with JS error in rare cases in `invokeOnCompletion(onCancelling = true)`.624 * Fixed materialization of a `cause` exception for `Job` onCancelling handlers (see #436). 938 * `Job.invokeOnCompletion` has an additional overload with `onCancelling: Boolean` parameter to
META-INF/ META-INF/MANIFEST.MF kotlinx/ kotlinx/coroutines/ kotlinx/ ...
META-INF/ META-INF/MANIFEST.MF DebugProbesKt.bin META-INF/LICENSE ...
432 protected fun onCancelling (Ljava/lang/Throwable;)V