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

langara

10/08/2017, 2:35 PM
e

elizarov

10/08/2017, 6:27 PM
Great job. One thing that is worth mentioning is related to this comment: "In particular once constructed observable operator chain allow many events to flow through it, while a suspendable point resumes only once per invocation.". In fact, you can use channel if you need to model a flow of events. Moreover, there is a work in progress to bring all the usual cobinators (filter, maps, etc) to channels. See this PR for details/discussion: https://github.com/Kotlin/kotlinx.coroutines/pull/88
👍🏻 4
3 Views