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

elizarov

10/23/2017, 11:24 AM
You get better with channles/actors only when the channels are not hidden behind methods, so you can can build async processing pipelines with them.
u

uli

10/23/2017, 5:44 PM
After thinking more about it, i think i understood... The problem is not the suspending
send
that could block the message queue. It is the fact that with my abstraction in place, I can not pass on the future down the pipeline, but would create a new one in each stage which has to be awaited to fulfill the previous future. Thereby blocking the actor's message loop
2 Views