Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCancellableContinuationImpl.kt192 val update = CancelledContinuation(this, cause, handled = state is CancelHandler) in <lambda>()
195 (state as? CancelHandler)?.let { callCancelHandler(it, cause) } in <lambda>()
229 fun callCancelHandler(handler: CancelHandler, cause: Throwable?) = in <lambda>()
305 is CancelHandler -> multipleHandlersError(handler, state) in <lambda>()
356 private fun makeCancelHandler(handler: CompletionHandler): CancelHandler = in <lambda>()
357 if (handler is CancelHandler) handler else InvokeOnCancel(handler) in <lambda>()
378 …onCancellation != null || (state is CancelHandler && state !is BeforeResumeCancelHandler) || idemp… in <lambda>()
381 … CompletedContinuation(proposedUpdate, state as? CancelHandler, onCancellation, idempotent) in <lambda>()
524 internal abstract class CancelHandler : CancelHandlerBase(), NotCompleted in toString() class
532 internal abstract class BeforeResumeCancelHandler : CancelHandler() in toString()
[all …]
DAwait.kt95 …ate inner class DisposeHandlersOnCancel(private val nodes: Array<AwaitAllNode>) : CancelHandler() {
DCancellableContinuation.kt383 private class DisposeOnCancel(private val handle: DisposableHandle) : CancelHandler() {
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DFuture.kt47 private class CancelFutureOnCancel(private val future: Future<*>) : CancelHandler() {
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DJSDispatcher.kt62 private class ClearTimeout(private val handle: Int) : CancelHandler(), DisposableHandle {
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/
DSemaphore.kt254 ) : CancelHandler() {
/external/libchrome/mojo/core/
Dtrap_unittest.cc49 template <typename Handler, typename CancelHandler>
51 CancelHandler cancel_handler) { in CreateContextWithCancel()
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api60 public final fun callCancelHandler (Lkotlinx/coroutines/CancelHandler;Ljava/lang/Throwable;)V