enleur
fun <E> ReceiveChannel<E>.onEach(context: CoroutineContext = Unconfined, action: (E) -> Unit): ReceiveChannel<E> = produce(context) { consumeEach { action(it) send(it) } }
r4zzz4k
map()
capacity
produce(capacity = 0)
ReceiveChannel
SendChannel
onEach
A modern programming language that makes developers happier.