Searched refs:MODE_CANCELLABLE (Results 1 – 6 of 6) sorted by relevance
11 @PublishedApi internal const val MODE_CANCELLABLE = 1 // schedule cancellable dispatch for suspe… constant16 internal val Int.isCancellableMode get() = this == MODE_CANCELLABLE17 internal val Int.isDispatchedMode get() = this == MODE_ATOMIC_DEFAULT || this == MODE_CANCELLABLE22 MODE_CANCELLABLE -> resumeCancellable(value) in resumeMode()33 MODE_CANCELLABLE -> resumeCancellableWithException(exception) in resumeWithExceptionMode()44 MODE_CANCELLABLE -> intercepted().resumeCancellable(value) in resumeUninterceptedMode()55 MODE_CANCELLABLE -> intercepted().resumeCancellableWithException(exception) in resumeUninterceptedWithExceptionMode()
118 resumeMode = MODE_CANCELLABLE in <lambda>()121 executeUnconfined(value, MODE_CANCELLABLE) { in <lambda>()135 resumeMode = MODE_CANCELLABLE in <lambda>()138 executeUnconfined(state, MODE_CANCELLABLE) { in <lambda>()175 resumeMode = MODE_CANCELLABLE in <lambda>()285 executeUnconfined(Unit, MODE_CANCELLABLE, doYield = true) { in yieldUndispatched()289 internal fun <T> DispatchedTask<T>.dispatch(mode: Int = MODE_CANCELLABLE) { in dispatch()
198 … val cancellable = CancellableContinuationImpl(uCont.intercepted(), resumeMode = MODE_CANCELLABLE) in suspendCancellableCoroutine()
219 override val defaultResumeMode: Int get() = MODE_CANCELLABLE
177 if (resumeMode == MODE_CANCELLABLE) { in <lambda>()
1100 ) : CancellableContinuationImpl<T>(delegate, MODE_CANCELLABLE) { in <lambda>()