Home
last modified time | relevance | path

Searched refs:ensureActive (Results 1 – 18 of 18) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DJobExtensionsTest.kt19 ensureActive() in <lambda>()
20 coroutineContext.ensureActive() in <lambda>()
21 coroutineContext[Job]!!.ensureActive() in <lambda>()
27 job.ensureActive() in <lambda>()
28 scope.ensureActive() in <lambda>()
29 scope.coroutineContext.ensureActive() in <lambda>()
38 ensureActive() in <lambda>()
39 coroutineContext.ensureActive() in <lambda>()
40 coroutineContext[Job]!!.ensureActive() in <lambda>()
47 assertFailsWith<JobCancellationException> { job.ensureActive() } in <lambda>()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DFlowOnTest.kt73 ensureActive() in <lambda>()
90 ensureActive() in testFlowOnThrowingOperator()
112 ensureActive() in <lambda>()
133 ensureActive() in <lambda>()
164 ensureActive() in <lambda>()
185 ensureActive() in <lambda>()
318 ensureActive() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DReusableCancellableContinuationTest.kt76 ensureActive()
101 ensureActive() in <lambda>()
116 ensureActive() in <lambda>()
151 ensureActive()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCoroutineScope.kt243 public fun CoroutineScope.ensureActive(): Unit = coroutineContext.ensureActive() method
DJob.kt584 public fun Job.ensureActive(): Unit { in cancel() method
602 public fun CoroutineContext.ensureActive() { in ensureActive() method
603 get(Job)?.ensureActive() in ensureActive()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/flow/internal/
DSafeCollector.kt22 currentContext.ensureActive() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/flow/internal/
DSafeCollector.kt22 currentContext.ensureActive() in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/
DReactiveFlow.kt98 coroutineContext.ensureActive() in <lambda>()
228 coroutineContext.ensureActive() in consumeFlow()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/flow/internal/
DSafeCollector.kt70 currentContext.ensureActive() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DContext.kt274 currentCoroutineContext().ensureActive() in collect()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/internal/
DMerge.kt65 job?.ensureActive() in collectTo()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/
DFlowAsObservableTest.kt139 kotlin.coroutines.coroutineContext.ensureActive() in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/
DFlowAsObservableTest.kt139 kotlin.coroutines.coroutineContext.ensureActive() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/
DStateFlow.kt339 collectorJob?.ensureActive() in collect()
DSharedFlow.kt314 collectorJob?.ensureActive() in collect()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/
DChannelBuildersFlowTest.kt223 ensureActive() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api219 public static final fun ensureActive (Lkotlinx/coroutines/CoroutineScope;)V
395 public static final fun ensureActive (Lkotlin/coroutines/CoroutineContext;)V
396 public static final fun ensureActive (Lkotlinx/coroutines/Job;)V
/external/kotlinx.coroutines/
DCHANGES.md85 * Fixed `ensureActive` to work in the empty context case to fix `IllegalStateException` when using …
392 * `ensureActive` extensions for `CoroutineContext`, `CoroutineScope` and `Job` (#963).