https://kotlinlang.org logo
#coroutines
Title
# coroutines
p

pablisco

12/15/2017, 4:37 PM
of course you can also do an extension:
Copy code
fun <A> Iterable<A>.produceAll() =
  produce<Int> { forEach { send(it) } }