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

Yan Pujante

06/26/2019, 4:08 PM
I have implemented a job queue using Rx https://github.com/ypujante/jamba-quickstart-server/blob/master/src/jvmMain/kotlin/org/pongasoft/jamba/quickstart/server/be/services/JobQueue.kt and TBH was kind of a pain (error handling, etc..)... was wondering if coroutines/channels would be easier?
u

ursus

06/28/2019, 5:40 PM
well you can map the job to Events (Started, Success, Error), and have a single subject for this
3 Views