Home
last modified time | relevance | path

Searched refs:SelectBuilder (Results 1 – 13 of 13) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/selects/
DSelectDeadlockLFStressTest.kt56 …val clauses: List<SelectBuilder<Unit>.() -> Unit> = ArrayList<SelectBuilder<Unit>.() -> Unit>().ap… in <lambda>()
65 's' -> fun SelectBuilder<Unit>.() { sendClause(ch) } in <lambda>()
66 'r' -> fun SelectBuilder<Unit>.() { receiveClause(ch) } in <lambda>()
87 private fun SelectBuilder<Unit>.sendClause(c: Channel<Long>) = in <lambda>() method
92 private fun SelectBuilder<Unit>.receiveClause(c: Channel<Long>) = in <lambda>() method
DSelectChannelStressTest.kt71 internal fun <R> SelectBuilder<R>.default(block: suspend () -> R) { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/selects/
DSelectUnbiased.kt20 public suspend inline fun <R> selectUnbiased(crossinline builder: SelectBuilder<R>.() -> Unit): R = in <lambda>()
34 SelectBuilder<R> {
DSelect.kt24 public interface SelectBuilder<in R> { in <lambda>() interface
66 public fun <R> SelectBuilder<R>.onTimeout(timeout: Duration, block: suspend () -> R): Unit = in onTimeout()
198 public suspend inline fun <R> select(crossinline builder: SelectBuilder<R>.() -> Unit): R { in trySelect()
237 ) : LockFreeLinkedListHead(), SelectBuilder<R>, in next()
DWhileSelect.kt30 public suspend inline fun whileSelect(crossinline builder: SelectBuilder<Boolean>.() -> Unit) { in whileSelect()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/src/time/
DTime.kt35 public fun <R> SelectBuilder<R>.onTimeout(duration: Duration, block: suspend () -> R): Unit = in delay()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/api/
Dkotlinx-coroutines-jdk8.api17 …public static final fun onTimeout (Lkotlinx/coroutines/selects/SelectBuilder;Ljava/time/Duration;L…
/external/kotlinx.coroutines/kotlinx-coroutines-core/
DREADME.md61 … | [onTimeout][kotlinx.coroutines.selects.SelectBuilder.onTimeout] …
138 [kotlinx.coroutines.selects.SelectBuilder.onTimeout]: https://kotlin.github.io/kotlinx.coroutines/k…
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectArrayChannelTest.kt386 internal fun <R> SelectBuilder<R>.default(block: suspend () -> R) { in <lambda>()
DSelectRendezvousChannelTest.kt445 internal fun <R> SelectBuilder<R>.default(block: suspend () -> R) { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/
DREADME.md64 … | [onTimeout][kotlinx.coroutines.selects.SelectBuilder.onTimeout] …
151 [kotlinx.coroutines.selects.SelectBuilder.onTimeout]: https://kotlin.github.io/kotlinx.coroutines/k…
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api1182 public abstract interface class kotlinx/coroutines/selects/SelectBuilder {
1190 public final class kotlinx/coroutines/selects/SelectBuilder$DefaultImpls {
1191 …public static fun invoke (Lkotlinx/coroutines/selects/SelectBuilder;Lkotlinx/coroutines/selects/Se…
1194 …routines/jvm/internal/CoroutineStackFrame, kotlinx/coroutines/selects/SelectBuilder, kotlinx/corou…
1240 …public static final fun onTimeout-0lHKgQg (Lkotlinx/coroutines/selects/SelectBuilder;DLkotlin/jvm/…
1248 …s kotlinx/coroutines/selects/UnbiasedSelectBuilderImpl : kotlinx/coroutines/selects/SelectBuilder {
/external/kotlinx.coroutines/
DCHANGES.md895 the source of the `SelectBuilder` in `kotlinx-corounes-core` module.