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
{{ message }}
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
varsource1=newSubject<int>();varsource2=newSubject<char>();varobservable=Observable.Zip(source1,source2,(x,y)=>$"{x}{y}");observable.Subscribe(onNext:Console.WriteLine,onCompleted:()=>Console.WriteLine("OnCompleted"));source1.OnNext(1);source2.OnNext('A');source1.OnNext(2);source2.OnNext('B');source2.OnNext('C');source2.OnNext('D');source1.OnNext(3);source2.OnCompleted();source1.OnNext(4);// observable should be completed heresource1.OnNext(5);// observable is completed here in UniRxsource1.OnCompleted();
varsource1=newSubject<int>();varsource2=newSubject<char>();varobservable=Observable.Zip(source1,source2,(x,y)=>$"{x}{y}");observable.Subscribe(onNext:Console.WriteLine,onCompleted:()=>Console.WriteLine("OnCompleted"));source1.OnNext(1);source2.OnNext('A');source1.OnNext(2);source2.OnNext('B');source1.OnNext(3);source2.OnNext('C');source1.OnCompleted();// observable should be completed heresource2.OnCompleted();// observable is completed here in UniRx
ZipObservable has wrong OnCompleted timing.
reference:

https://rxmarbles.com/#zip
reference:

https://reactivex.io/documentation/operators/zip.html