Home
last modified time | relevance | path

Searched refs:AbortFlowException (Results 1 – 10 of 10) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DLimit.kt66 } catch (e: AbortFlowException) { in take()
74 throw AbortFlowException(this) in emitAbort()
133 throw AbortFlowException(this) in collectWhile()
139 } catch (e: AbortFlowException) { in collectWhile()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/internal/
DFlowExceptions.common.kt16 internal expect class AbortFlowException(owner: FlowCollector<*>) : CancellationException { class
20 internal fun AbortFlowException.checkOwnership(owner: FlowCollector<*>) { in checkOwnership()
DCombine.kt111 if (collectJob.isActive) collectJob.cancel(AbortFlowException(this@unsafeFlow)) in zipImpl()
132 … val otherValue = second.receiveOrNull() ?: throw AbortFlowException(this@unsafeFlow) in zipImpl()
137 } catch (e: AbortFlowException) { in zipImpl()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/
DTakeWhileBenchmark.kt49 else throw AbortFlowException(this) in <lambda>()
51 } catch (e: AbortFlowException) { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/flow/internal/
DFlowExceptions.kt10 internal actual class AbortFlowException actual constructor( class
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/flow/internal/
DFlowExceptions.kt10 internal actual class AbortFlowException actual constructor( class
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/flow/internal/
DFlowExceptions.kt10 internal actual class AbortFlowException actual constructor( class
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/
DFirstTest.kt174 throw AbortFlowException(NopCollector) // Emulate cancellation in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DOnCompletionTest.kt225 assertTrue { e is AbortFlowException } in <lambda>()
/external/kotlinx.coroutines/
DCHANGES.md86 * Fixed a problem with `AbortFlowException` in the `Flow.first` operator to avoid erroneous `NoSuch…