I'm reading Kotlin Flows and to me it sounds simil...
# coroutines
c
I'm reading Kotlin Flows and to me it sounds similar to Channels. Are they a replacement, a simpler implementation, or something else entirely that I didn't understand? https://medium.com/@elizarov/simple-design-of-kotlin-flow-4725e7398c4c
Hm their other article explains it better: Channels are used to communicate between coroutines and Flows are just Sequences that can suspend?
d
Flows are designed such that they can be cold.
The consumer of elements (using
collect
) initiates the transaction
e
You might also want to familiarize yourself with difference between hot and cold streams by reading https://link.medium.com/dmcHXSWrqX