Implemented the Merge overloads#718
Conversation
|
RxJava-pull-requests #635 FAILURE |
|
RxJava-pull-requests #636 FAILURE |
|
I checked the failure in the groovy unit tests. Here is the problem. In the groovy unit test, there is an assumption. The following Observable Observable.merge(
Observable.from(6),
Observable.error(new NullPointerException()),
Observable.from(7)
)should emit However, my implementation uses |
|
I suppose Thoughts? |
|
Why would 6 be delayed? CurrentThreadScheduler doesn't change the order. It should subscribe to them in order, particularly since there is no concurrency and thus no race conditions here? |
|
I wanna use the following codes to discuss: Observable<Integer> o1 = Observable.from(6);
Observable<Integer> o2 = Observable.<Integer> error(new NullPointerException());
Observable<Integer> o3 = Observable.from(7);
Observable<Integer> o = Observable.merge(o1, o2, o3);In this example, when we subscribe The problem is that |
|
Just found using The order is, Now I can only find two solutions,
|
|
RxJava-pull-requests #643 SUCCESS |
|
Rebased. #724 helped pass the groovy tests. |
|
I'm holding off on this for now as I'm stabilizing 0.16.0 for release and am already in the midst of testing on Netflix production canaries. I'll review this for 0.16.1 once 0.16.0 is released. |
Implemented the Merge overloads
Hi, this PR implemented the overloads of
mergein #62. Please take a look.