Home
last modified time | relevance | path

Searched refs:onEmpty (Results 1 – 6 of 6) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DOnEmptyTest.kt11 val flow = emptyFlow<Int>().onEmpty { emit(1) } in <lambda>()
17 val flow = flowOf(1).onEmpty { emit(2) } in <lambda>()
25 }.onEmpty { expectUnreached() } in <lambda>()
34 }.onEmpty { expectUnreached() } in <lambda>()
46 val flow = emptyFlow<Int>().onEmpty { in <lambda>()
61 val flow = emptyFlow<Int>().onEmpty { in <lambda>()
/external/python/cpython3/Tools/c-analyzer/c_common/
Diterutil.py20 raise onEmpty
31 raise onEmpty
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DEmitters.kt175 public fun <T> Flow<T>.onEmpty( in onEmpty() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.klib.api865onEmpty(kotlin.coroutines/SuspendFunction1<kotlinx.coroutines.flow/FlowCollector<#A>, kotlin/Unit>…
Dkotlinx-coroutines-core.api1084 …public static final fun onEmpty (Lkotlinx/coroutines/flow/Flow;Lkotlin/jvm/functions/Function2;)Lk…
/external/kotlinx.coroutines/
DCHANGES_UP_TO_1.7.md557 * `Flow.onEmpty` operator is introduced (#1890).