About <https://kotlinlang.slack.com/archives/C0BJ0...
# coroutines
s
About https://kotlinlang.slack.com/archives/C0BJ0GTE2/p1554754893034600, is it possible to use
Flow
for hot streams as well like where we use
Flux
or
Flowable
for these use cases? If yes what are the pros/cons compared to channels?
e
Yes. You can either directly use
flow { ... }
builder and emit hot events into flow, or you can take a `Channel`/`BroadcastChannel` with hot events and convert it to flow using
.asFlow()
👍 1