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
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
constdate=newDate('March 15, 2050 12:00:00');// in the FUTUREconstdelayedClicks=clicks.pipe(delay(date));// click emitted only after that datedelayedClicks.subscribe(x=>console.log(x));constdate=newDate('March 15, 1050 12:00:00');// in the PASTconstdelayedClicks=clicks.pipe(delay(date));// click emitted only after that datedelayedClicks.subscribe(x=>console.log(x));
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: