Skip to content
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

Fixed possibly incorrect order of emissions from RxBleGattCallback #639

Merged
merged 3 commits into from Nov 22, 2019

Conversation

dariuszseweryn
Copy link
Owner

Having several observers on a specific, single threaded scheduler and several subsequent emissions from another thread the scheduler distributes events sequentially between observers. The non-intuitive part is that it first distributes all events to the first observer, then all events to the second and so on… This may end up with observers being notified about events in a wrong order. See ReactiveX/RxJava#6696
Fixes #628

Having several observers on a specific, single threaded scheduler and several subsequent emissions from another thread the scheduler distributes events sequentially between observers. The non-intuitive part is that it first distributes all events to the first observer, then all events to the second and so on… This may end up with observers being notified about events in a wrong order. See ReactiveX/RxJava#6696
@dariuszseweryn dariuszseweryn added the bug Bug that is caused by the library label Oct 31, 2019
@dariuszseweryn dariuszseweryn self-assigned this Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that is caused by the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong notification and indication order
2 participants