Searched refs:CancelHandler (Results 1 – 8 of 8) sorted by relevance
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | CancellableContinuationImpl.kt | 192 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 …]
|
D | Await.kt | 95 …ate inner class DisposeHandlersOnCancel(private val nodes: Array<AwaitAllNode>) : CancelHandler() {
|
D | CancellableContinuation.kt | 383 private class DisposeOnCancel(private val handle: DisposableHandle) : CancelHandler() {
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/ |
D | Future.kt | 47 private class CancelFutureOnCancel(private val future: Future<*>) : CancelHandler() {
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/ |
D | JSDispatcher.kt | 62 private class ClearTimeout(private val handle: Int) : CancelHandler(), DisposableHandle {
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/ |
D | Semaphore.kt | 254 ) : CancelHandler() {
|
/external/libchrome/mojo/core/ |
D | trap_unittest.cc | 49 template <typename Handler, typename CancelHandler> 51 CancelHandler cancel_handler) { in CreateContextWithCancel()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/ |
D | kotlinx-coroutines-core.api | 60 public final fun callCancelHandler (Lkotlinx/coroutines/CancelHandler;Ljava/lang/Throwable;)V
|