We know that StateFlow and SharedFlow are hot.
StateFlow is a hot flow—it remains in memory as long as the flow is collected or while any other references to it exist from a garbage collection root.
SharedFlow is a hot flow that emits values to all consumers that collect from it.
Flow by itself is cold.
Flows are cold streams similar to sequences...
I have a question that I couldn't find a direct answer to. Is LiveData hot or cold?