:mega: :mega: :mega: `kotlinx.coroutines` 1.2.1 is...
# coroutines
v
📣 📣 📣
kotlinx.coroutines
1.2.1 is here! Changelog: • Infrastructure for testing coroutine-specific code in
kotlinx-coroutines-test
(read more here https://github.com/Kotlin/kotlinx.coroutines/tree/master/kotlinx-coroutines-test#runblockingtest). Thanks Sean McQuillan for the contribution! •
Job.asCompletableFuture
extension in jdk8 module • New operators in `Flow`:
switchMap
,
debounce
,
sample
• Various fixes and improvements, full changelog: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.2.1
🎉 18
👍🏼 2
K 4
👍 2
👏🏾 3
⏸️ 5
❤️ 5
l
Good progress on the debounce/sample operators 👍 . Now it would be nice to add some sort of
flowSubject { }
which would behave in a similar way as RxJava's
PublishSubject
so that I could asynchronously inject (or emit) items into my Flow from whenever I need 🙂. Or moreover: JavaFX/TornadoFX has a lot of observables (StringProperty, ...) which could have their
.asFlow()
extension as well.