-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Delay not working by given date #6963
Comments
I think this is duplicate of #3015 Essentially the problem comes down to the runtime's setTimeout with big timeout values. Try this in your JS console: setTimeout(() => console.log('bump'), 1_000_000_000_000)
// Immediately logs "bump" You could say it's actually a JS Runtime bug. You'll need to guard against it yourself. |
Duplicate of #3015. Thanks for reporting. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I tried the delay with PAST & FUTURE date. As per the examples described, it should trigger only for the past date, not on future date, but the console.log logging for the both dates. This examples taken from the official documentation only.
https://rxjs.dev/api/index/function/delay
Expected behavior
The delay should emit value for past date only, not on future date
Reproduction code
Reproduction URL
https://stackblitz.com/run?devtoolsheight=50
Version
7.5.6
Environment
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: