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

elizarov

11/29/2017, 1:42 PM
Limited parallelism seems to be quite a common pattern, so here is a bunch of ideas on what we can improve: https://github.com/Kotlin/kotlinx.coroutines/issues/172
👍 2
a

arthur

11/29/2017, 2:12 PM
wouldn't a special
pfor
keyword work better?
eg
Copy code
val reqs: List<Request> = ...
pfor (it in channel)  {
  processeRequest(it)
}
e

elizarov

11/29/2017, 3:57 PM
No special keywords. This is Kotlin K We have DSLs
2 Views