:mega: :mega: :mega: kotlinx.coroutines 1.4.0-M1 i...
# coroutines
v
📣 📣 📣 kotlinx.coroutines 1.4.0-M1 is here! •
SharedFlow
for managing hot sources of data •
shareIn
and
stateIn
operators to transform a cold
Flow
into a hot one • Channel cancellation atomicity is reworked, and API for closeable resource transfer is introduced And more, full changelog: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.4.0-M1
🎉 22
🔥 21
g
are Channels abandoned and is Flow the future? When Flow was introduced it was a lot of talk about hot channels and cold flows but now it seems that you can run hot flows as well?
e
Channels are not abandoned. Moreover, they are critical building blocks on top of which many important flow operators are built.
👍 1
However, BroadcastChannel and ConflatedBroadcastChannel will be deprecated in favor of shared flows.
👏 8
r
@elizarov will there be quick iteration on these Milestone releases?
d
More importantly for me a release that combines SharedFlow with native multithreading
e
We are waiting for your feedback to finalize the design.