https://kotlinlang.org logo
#coroutines
Title
# coroutines
v

Vsevolod Tolstopyatov [JB]

10/13/2020, 1:42 PM
📣 📣 📣 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

gotoOla

10/13/2020, 3:24 PM
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

elizarov

10/13/2020, 4:06 PM
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

rkeazor

10/13/2020, 7:15 PM
@elizarov will there be quick iteration on these Milestone releases?
d

dalewking

10/13/2020, 10:59 PM
More importantly for me a release that combines SharedFlow with native multithreading
e

elizarov

10/14/2020, 7:22 AM
We are waiting for your feedback to finalize the design.
6 Views