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
It seems to me that the sentence "On the other hand, if some Observable does not emit a value but completes, resulting Observable will complete at the same moment without emitting anything, since it will be now impossible to include value from completed Observable in resulting array." in the 3rd paragraph is either incorrect or the expected behaviour of combineLatest is implemented incorrect.
If we have a look at :
it('should work with never and empty', () => {
const e1 = cold( '-');
const e1subs = '^';
const e2 = cold( '|');
const e2subs = '(^!)';
const expected = '-';
const result = combineLatest(e1, e2, (x, y) => x + y);
expectObservable(result).toBe(expected);
expectSubscriptions(e1.subscriptions).toBe(e1subs);
expectSubscriptions(e2.subscriptions).toBe(e2subs);
});
To me at least it seems like const expected = '-'; should be const expected = '|'; since observable 'e2' completes immediately.
The text was updated successfully, but these errors were encountered:
Documentation Related To Component:
combineLatest
Please check those that apply
Description Of The Issue
It seems to me that the sentence "On the other hand, if some Observable does not emit a value but completes, resulting Observable will complete at the same moment without emitting anything, since it will be now impossible to include value from completed Observable in resulting array." in the 3rd paragraph is either incorrect or the expected behaviour of combineLatest is implemented incorrect.
If we have a look at :
To me at least it seems like
const expected = '-';
should beconst expected = '|';
since observable 'e2' completes immediately.The text was updated successfully, but these errors were encountered: