Home
last modified time | relevance | path

Searched refs:SendChannel (Results 1 – 25 of 33) sorted by relevance

12

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/channels/
DActor.kt115 ): SendChannel<E> { in actor()
149 SelectClause2<E, SendChannel<E>> {
175 override val onSend: SelectClause2<E, SendChannel<E>>
179 … registerSelectClause2(select: SelectInstance<R>, param: E, block: suspend (SendChannel<E>) -> R) { in registerSelectClause2()
DTickerChannels.kt81 channel: SendChannel<Unit> in fixedPeriodTicker()
104 channel: SendChannel<Unit> in fixedDelayTicker()
DChannels.kt19 public fun <E> SendChannel<E>.sendBlocking(element: E) { in sendBlocking()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/src/
DRxObservable.kt60 ) : AbstractCoroutine<Unit>(parentContext, true), ProducerScope<T>, SelectClause2<T, SendChannel<T>…
61 override val channel: SendChannel<T> get() = this
92 override val onSend: SelectClause2<T, SendChannel<T>>
97 …egisterSelectClause2(select: SelectInstance<R>, element: T, block: suspend (SendChannel<T>) -> R) { in registerSelectClause2()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/src/
DRxObservable.kt74 ) : AbstractCoroutine<Unit>(parentContext, true), ProducerScope<T>, SelectClause2<T, SendChannel<T>…
75 override val channel: SendChannel<T> get() = this
106 override val onSend: SelectClause2<T, SendChannel<T>>
111 …egisterSelectClause2(select: SelectInstance<R>, element: T, block: suspend (SendChannel<T>) -> R) { in registerSelectClause2()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/
DPingPongActorBenchmark.kt35 data class Letter(val message: Any?, val sender: SendChannel<Letter>)
65 pingChannel: SendChannel<PingPongActorBenchmark.Letter>, in CoroutineScope()
69 var initiator: SendChannel<PingPongActorBenchmark.Letter>? = null in CoroutineScope()
DStatefulActorBenchmark.kt42 data class Letter(val message: Any, val sender: SendChannel<Letter>)
81 …private fun CoroutineScope.requestorActor(computations: List<SendChannel<Letter>>, stopChannel: Ch… in requestorActor()
DCycledActorsBenchmark.kt70 var nextChannel: SendChannel<Letter>? = null in <lambda>()
91 …private fun createActor(nextActor: SendChannel<Letter>, stopChannel: Channel<Unit>) = actor<Letter… in <lambda>()
DConcurrentStatefulActorBenchmark.kt86 computations: List<SendChannel<Letter>>, in requestorActorUnfair()
112 computations: List<SendChannel<Letter>>, in requestorActorFair()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/
DREADME.md12 …[actor][kotlinx.coroutines.channels.actor] | [SendChannel][kotlinx.coroutines.channels.SendCha…
36 | [Channel][kotlinx.coroutines.channels.Channel] | [send][kotlinx.coroutines.channels.SendChannel.…
60SendChannel][kotlinx.coroutines.channels.SendChannel] | [send][kotlinx.coroutines.channels.Send…
138 [kotlinx.coroutines.channels.SendChannel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coro…
141 [kotlinx.coroutines.channels.SendChannel.send]: https://kotlin.github.io/kotlinx.coroutines/kotlinx…
143 [kotlinx.coroutines.channels.SendChannel.onSend]: https://kotlin.github.io/kotlinx.coroutines/kotli…
144 [kotlinx.coroutines.channels.SendChannel.offer]: https://kotlin.github.io/kotlinx.coroutines/kotlin…
/external/kotlinx.coroutines/kotlinx-coroutines-core/
DREADME.md33 | [Channel][kotlinx.coroutines.channels.Channel] | [send][kotlinx.coroutines.channels.SendChannel.…
57SendChannel][kotlinx.coroutines.channels.SendChannel] | [send][kotlinx.coroutines.channels.Send…
127 [kotlinx.coroutines.channels.SendChannel.send]: https://kotlin.github.io/kotlinx.coroutines/kotlinx…
129 [kotlinx.coroutines.channels.SendChannel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coro…
130 [kotlinx.coroutines.channels.SendChannel.onSend]: https://kotlin.github.io/kotlinx.coroutines/kotli…
131 [kotlinx.coroutines.channels.SendChannel.offer]: https://kotlin.github.io/kotlinx.coroutines/kotlin…
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/
DPublish.kt83 …tine<Unit>(parentContext, true), ProducerScope<T>, Subscription, SelectClause2<T, SendChannel<T>> {
84 override val channel: SendChannel<T> get() = this
117 override val onSend: SelectClause2<T, SendChannel<T>>
122 …egisterSelectClause2(select: SelectInstance<R>, element: T, block: suspend (SendChannel<T>) -> R) { in registerSelectClause2()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DConflatedBroadcastChannel.kt267 public override val onSend: SelectClause2<E, SendChannel<E>> in <lambda>()
268 get() = object : SelectClause2<E, SendChannel<E>> { in <lambda>()
269 … registerSelectClause2(select: SelectInstance<R>, param: E, block: suspend (SendChannel<E>) -> R) { in <lambda>()
274 …> registerSelectSend(select: SelectInstance<R>, element: E, block: suspend (SendChannel<E>) -> R) { in <lambda>()
DChannel.kt23 public interface SendChannel<in E> { interface
74 public val onSend: SelectClause2<E, SendChannel<E>> in send()
587 public interface Channel<E> : SendChannel<E>, ReceiveChannel<E> { in next()
DProduce.kt17 public interface ProducerScope<in E> : CoroutineScope, SendChannel<E> { in <lambda>()
25 public val channel: SendChannel<E> in <lambda>()
DChannels.common.kt811 public suspend inline fun <E, C : SendChannel<E>> ReceiveChannel<E>.filterIndexedTo(destination: C,… in filterIndexedTo()
884 public suspend fun <E : Any, C : SendChannel<E>> ReceiveChannel<E?>.filterNotNullTo(destination: C)… in filterNotNullTo()
924 public suspend inline fun <E, C : SendChannel<E>> ReceiveChannel<E>.filterNotTo(destination: C, pre… in filterNotTo()
964 public suspend inline fun <E, C : SendChannel<E>> ReceiveChannel<E>.filterTo(destination: C, predic… in filterTo()
1165 public suspend fun <E, C : SendChannel<E>> ReceiveChannel<E>.toChannel(destination: C): C { in toChannel()
1481 public suspend inline fun <E, R : Any, C : SendChannel<R>> ReceiveChannel<E>.mapIndexedNotNullTo(de… in mapIndexedNotNullTo()
1528 public suspend inline fun <E, R, C : SendChannel<R>> ReceiveChannel<E>.mapIndexedTo(destination: C,… in mapIndexedTo()
1588 public suspend inline fun <E, R : Any, C : SendChannel<R>> ReceiveChannel<E>.mapNotNullTo(destinati… in mapNotNullTo()
1630 public suspend inline fun <E, R, C : SendChannel<R>> ReceiveChannel<E>.mapTo(destination: C, transf… in mapTo()
DBroadcastChannel.kt27 public interface BroadcastChannel<E> : SendChannel<E> {
DAbstractChannel.kt21 ) : SendChannel<E> { in <lambda>()
370 final override val onSend: SelectClause2<E, SendChannel<E>> in <lambda>()
371 get() = object : SelectClause2<E, SendChannel<E>> { in <lambda>()
372 … registerSelectClause2(select: SelectInstance<R>, param: E, block: suspend (SendChannel<E>) -> R) { in <lambda>()
377 …> registerSelectSend(select: SelectInstance<R>, element: E, block: suspend (SendChannel<E>) -> R) { in <lambda>()
447 @JvmField val block: suspend (SendChannel<E>) -> R in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DCallbackFlowTest.kt15 private class CallbackApi(val block: (SendChannel<Int>) -> Unit) {
21 fun start(sink: SendChannel<Int>) { in start()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/internal/
DSendingCollector.kt17 private val channel: SendChannel<T>
DCombine.kt109 (second as SendChannel<*>).invokeOnClose { in zipImpl()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-channel-07.kt21 suspend fun sendString(channel: SendChannel<String>, s: String, time: Long) { in sendString()
Dexample-select-03.kt12 fun CoroutineScope.produceNumbers(side: SendChannel<Int>) = produce<Int> { in <lambda>()
/external/libchrome/mojo/core/
Dbroker_host.h36 bool SendChannel(PlatformHandle handle);
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DTestChannelKind.kt38 ): Channel<E>, SendChannel<E> by broadcast { in toString()

12