Vsevolod Tolstopyatov [JB]
06/06/2019, 9:14 PMkotlinx.coroutines version 1.3.0-M1 is here!
A lot of changes in Flow:
* Core Flow interfaces and operators are graduated from preview status to experimental ⏸️
* Serious performance improvements of Flow
* More accurate context preservation invariant that should prevent most of the concurrency and contract violation bugs
* Flow interface cannot be implemented directly, only via AbstractFlow to preserve Flow’s invariant
* Separate buffer operator composable with buffered operator (flowOn, flowChannel etc.). No more bufferSize constant in operators!
* New operators and a lot more!
General changes:
* Scalable state-of-the-art Semaphore implementation
* Channels API improved: performance, experimental API and consistent exception handling
* withContext checks cancellation status on exit to make reasoning about sequential concurrent code easier
* JS dispatcher performance
* Various API and performance improvements and bug fixes
Full changelog: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.3.0-M1basher
06/06/2019, 9:37 PM-M1 signify?louiscad
06/06/2019, 9:41 PMbasher
06/06/2019, 9:42 PMlouiscad
06/06/2019, 9:43 PMflow on GitHub.gildor
06/07/2019, 2:07 AMelizarov
06/07/2019, 5:29 AM