We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RxJS version: 5.4.0
Code to reproduce: http://jsbin.com/senabobafi/1/edit?js,console
Rx.Observable.timer(0, 0, Rx.Scheduler.animationFrame) .take(100) .subscribe(x => console.log(x));
Expected behavior: No errors should be thrown, and animation scheduled loop should stop.
Actual behavior: After the take completes the observable, the animation actions keep getting scheduled, and they throw an error repeatedly.
take
Additional information: Workarounds:
Rx.Observable.interval(0, Rx.Scheduler.animationFrame) .take(100) .subscribe(x => console.log(x));
Rx.Observable.range(0, Number.POSITIVE_INFINITY, Rx.Scheduler.animationFrame) .take(100) .subscribe(x => console.log(x));
The text was updated successfully, but these errors were encountered:
This seems similar case to #2594, we have some odds for handling tasks in scheduler.
Sorry, something went wrong.
fix(AsapScheduler): Fix issue where canceling an asap or animationFra…
6adf281
…me action early could throw ReactiveX#2625 ReactiveX#2594
closing via #2638.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
trxcllnt
No branches or pull requests
RxJS version: 5.4.0
Code to reproduce:
http://jsbin.com/senabobafi/1/edit?js,console
Expected behavior:
No errors should be thrown, and animation scheduled loop should stop.
Actual behavior:
After the
take
completes the observable, the animation actions keep getting scheduled, and they throw an error repeatedly.Additional information:
Workarounds:
The text was updated successfully, but these errors were encountered: