Skip to content
New issue

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

Observable.timer fires immediately for very large values #3282

Closed
GregRos opened this issue Jan 31, 2018 · 2 comments
Closed

Observable.timer fires immediately for very large values #3282

GregRos opened this issue Jan 31, 2018 · 2 comments

Comments

@GregRos
Copy link

GregRos commented Jan 31, 2018

RxJS version:
5.5.6
Code to reproduce:

Observable.timer(10 ** 20);
//or:
Observable.timer(Infinity);

Expected behavior:
An observable that will fire after an incredibly long amount of time or never.

Alternatively, (less desireable), throwing an Error indicating the time is out of range.

Actual behavior:
An observable that emits immediately.

Additional information:

@kwonoj
Copy link
Member

kwonoj commented Jan 31, 2018

dupe of #3015 .

@kwonoj kwonoj closed this as completed Jan 31, 2018
@lock
Copy link

lock bot commented Jun 6, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants