-
Notifications
You must be signed in to change notification settings - Fork 356
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
reactivex.timer emits immediately on second subscription #697
Comments
Another finding: in the case of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An observable created by
reactivex.timer(1,5)
will emit immediately when a second observer subscribes instead of waiting the "1" second specified as argument. This only happens when an interval value is specifiedExpected the timer to be "reset" regardless if we resub on repeat or with a second observer
Additional findings:
operators.delay
we see that the next intervals follow the second subscription, meaning, they are correct relative to the first emission but wrong relative to expected behaviorreactivex.interval
does not seem to have this issueThe text was updated successfully, but these errors were encountered: