https://kotlinlang.org logo
Title
e

EyeCon

05/29/2020, 12:53 AM
I'm currently using `Channel`s with a capacity as queues with suspending functions. They are pretty flexible to use with fan-out patterns. Will this still be supported in the future? I read that `Channel`would be deprecated at some point but I'm not sure if this is meant in general, or for specific scenarios.
d

Dominaezzz

05/29/2020, 12:57 AM
`BroadcastChannel`'s will be deprecated with suitable
Flow
replacements. Regular `Channel`s aren't going anywhere (anytime soon) and will be treated as low level.
1
e

EyeCon

05/29/2020, 1:29 AM
Thank you!
e

elizarov

05/29/2020, 6:21 AM
Channel is an important an flexible primitive for inter-coroutine communication. Even though quite low-level, there’s many things you cannot do without them. They’ll definitely stay.
👍 4