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 like after the most recent changes in 5.3.0 the timeout() operator works differently. But I don't know whether this is intentional or not since it's not listed under either "Features" nor "Breaking Changes" in the change log.
gut guess (without any verification), maybe it's related to 3e9d529**timeout: Cancels scheduled timeout, if no longer needed**? it has changed internals of timeout operator bit.
@martinsik thanks for filing this issue. I've submitted a fix in PR #2580. This is pretty serious, so we'll see about getting a patch release out soon.
RxJS version: 5.3.0
It seems like after the most recent changes in 5.3.0 the
timeout()
operator works differently. But I don't know whether this is intentional or not since it's not listed under either "Features" nor "Breaking Changes" in the change log.Code to reproduce:
First three items are delayed by 1 second while the fourth item is delayed by 5 seconds.
Expected behavior:
Actual behavior:
Additional information:
Only
5.3.0
is affected. I checked both5.2.0
and4.1.0
and in both cases it work as shown in Expected behavior. Also it looks like this situation is already tested: https://github.com/ReactiveX/rxjs/blob/master/spec/operators/timeout-spec.ts#L89Demos:
RxJS 5.3.0: https://jsbin.com/wemuzuc/5/edit?html,js,console
RxJS 5.2.0: https://jsbin.com/nedagox/4/edit?html,js,console
RxJS 4.1.0: https://jsbin.com/ganofon/2/edit?html,js,console
The text was updated successfully, but these errors were encountered: