You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This yields error instead of 1, error as expected. Other implementations of Rx like Rx.Net do serialize notifications. This 'cut ahead' behavior is actually described as a common pitfall in RxJava by some.
The text was updated successfully, but these errors were encountered:
RxJava 2.0 will allow you to customize this behavior in many operators, including observeOn, delay, combineLatest, zip, groupBy, onBackpressureBuffer, skipLast and takeLast.
I was planning to post a PR targeting observeOn to remove some unnecessary code (#3002) and may well do this as well.
This is really scary nondeterministic behavior, and against Rx contract. I hope the (future) default will be to not lose data. If anything it might be an appropriate setting on the subscriber.
Currently,
onError
cuts ahead ofonNext
calls when you schedule work, but does not (cannot) when you use a single thread.This yields
error
instead of1, error
as expected. Other implementations of Rx like Rx.Net do serialize notifications. This 'cut ahead' behavior is actually described as a common pitfall in RxJava by some.The text was updated successfully, but these errors were encountered: