-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Regression: channelFlow/flowViaChannel broken. #1259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is not a bug, but an incompatible change in
|
Shame on me. Was too quick to update. Will check doc more thoroughly next time. |
Having |
This is a bug.
I updated a project today where I used
flowViaChannel
to bridge fromObservable
from Google's Agera library for Android, and it stopped working properly.Only reverting to the old implementation of
flowViaChannel
from 1.2.1 made it work.The behavior I observe is that I only receive the first value.
Note that I use
distinctUntilChanged()
after it, and removing theconflate()
operator applied before doesn't change the broken behavior.For anyone that need the original working
flowViaChannel
until that is fixed, here's the code:The text was updated successfully, but these errors were encountered: