Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I can't really answer your question, because in kotlin the official coroutines based actor stuff would be the right answer, if the existing functions (that are probably not enough for you) weren't deprecated and replaced by an official API that doesn't exist yet https://github.com/Kotlin/kotlinx.coroutines/issues/87.
I’m building my own micro-actor library to support some of my own use cases. Specifically I need to have the ability to start, stop, pause, resume actors multiple times gracefully. My design is not fully ready but pretty close. https://github.com/slatekit/slatekit/tree/main/src/lib/kotlin/slatekit-actors
Related posts
- Gradle: from Newbie to Strong fundamentals
- Add `statefulMap` and `statefulTransform` operator to Kotlin coroutines' Flow
- Should I choose Kotlin over Java for a new project (backend)?
- kotlinx.coroutines 1.7.0 released
- Is it ok to have global scopes when the coroutine I'm starting has *nothing* to do with showing UI, nor do I care about its result?