deviant
03/07/2018, 2:30 PMpublic fun <E, R> ReceiveChannel<E>.flatMap(context: CoroutineContext = Unconfined, transform: suspend (E) -> ReceiveChannel<R>): ReceiveChannel<R>
is there any chance we will see overloaded flatmap in the lib with such param signature transform: (E) -> Iterable<R>
?deviant
03/07/2018, 2:33 PMJonathan
03/07/2018, 2:35 PMfun <T> Iterable<T>.toChannel(): ReceiveChannel<T> = produce { forEach { send(it) } }
elizarov
03/07/2018, 2:49 PMilya.gorbunov
03/08/2018, 11:33 PMelizarov
03/09/2018, 8:00 AM