Vsevolod Tolstopyatov [JB]
04/12/2019, 6:31 PMkotlinx.coroutines
1.2.0 is here!
Changelog:
* Kotlin 1.3.30
* New API: CancellableContinuation.resume
with onCancelling
lambda to consistently handle closeable resources.
* Flow improvements, including new operators, better documentation and RxJava integration. Note that it is not leaving its experimental status yet.
Full changelog: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.2.0sdeleuze
04/12/2019, 8:19 PMelizarov
04/13/2019, 7:42 AMflatMap
is expected to do (should it concat or merge), so this way we can defer making this decision.sdeleuze
04/25/2019, 1:32 PMconcatMap
instead of flatMapConcat
and flatMap
instead of flatMapMerge
?elizarov
04/25/2019, 5:46 PMflatMap
should do flatMapMerge
. The downside of that decision is that if you copy-and-paste a code written with Sequence
to Flow
then suddenly it starts working differently, because flatMap
for sequences is flatMapConcat
.