Searched refs:DispatchedContinuation (Results 1 – 7 of 7) sorted by relevance
19 internal class DispatchedContinuation<in T>( in <lambda>() class265 is DispatchedContinuation -> resumeCancellableWith(result, onCancellation) in resumeCancellableWith()269 internal fun DispatchedContinuation<Unit>.yieldUndispatched(): Boolean = in yieldUndispatched()280 private inline fun DispatchedContinuation<*>.executeUnconfined( in executeUnconfined()
86 val delegate = delegate as DispatchedContinuation<T> in getSuccessfulResult()154 …if (!undispatched && delegate is DispatchedContinuation<*> && mode.isCancellableMode == resumeMode… in dispatch()177 undispatched -> (delegate as DispatchedContinuation).resumeUndispatchedWith(result) in resume()
100 DispatchedContinuation(this, continuation) in isDispatchNeeded()104 (continuation as DispatchedContinuation<*>).reusableCancellableContinuation?.detachChild() in isDispatchNeeded()
92 …private fun isReusable(): Boolean = delegate is DispatchedContinuation<*> && delegate.isReusable(t… in <lambda>()139 val dispatched = delegate as? DispatchedContinuation<*> ?: return completed in <lambda>()184 val dispatched = (delegate as? DispatchedContinuation<*>) ?: return false in <lambda>()483 val dc = delegate as? DispatchedContinuation in <lambda>()488 val dc = delegate as? DispatchedContinuation in <lambda>()
33 val cont = uCont.intercepted() as? DispatchedContinuation<Unit> ?: return@sc Unit in <lambda>()
334 if (delegate !is DispatchedContinuation<T>) { in getOrCreateCancellableContinuation()
16 is DispatchedContinuation -> toString() in toDebugString()