i'm a little confused as to why channel operators have been deprecated - if i need a stream to remain hot (using a channel), i can't use Flow and its operators
oh wait
consumeAsFlow
still maintains the "hot"ness
a
Adam Powell
10/10/2020, 5:25 PM
As does
receiveAsFlow
if you want to permit multiple collection
g
gildor
10/11/2020, 1:19 AM
Yes, you can convert channel as flow.
But flow also can be created hot, thought, now it limited, until we got SharedFlow
w
william
10/11/2020, 1:49 PM
@gildor what do you mean it is limited?
g
gildor
10/11/2020, 2:15 PM
StateFlow is also hot for example, but works only for some particular use cases