Vsevolod Tolstopyatov [JB]
04/26/2019, 8:44 AMkotlinx.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.1littlelightcz
04/28/2019, 8:55 AMflowSubject { }
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.