Hi, does anyone have had success converting from R...
# coroutines
y
Hi, does anyone have had success converting from Rx2 Observable to Kotlin Flow, and getting data?
This code works in the sense that I can the initial data from the channel, but the observable is dead - it doesn’t send anymore data beyond the initial list.
Now how do I extract the List<> from the flow? collect{} doesn't compile. Furthermore how do I keep this as a stream of data like Rx2?
p
Don't open a subscription
toFlowable(BackpressureStrategy.LATEST).asFlow()
👍 1