-
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
debounceTime
dropping values received in subscription
#2748
Comments
Basically Rx v5 doesn't guarantee reentrancy by default. If you explicitly observe in different scheduler like |
Cool, thanks that's exactly the workaround I came up with. |
jayphelps
added a commit
to jayphelps/rxjs
that referenced
this issue
Jan 8, 2018
…wallows the second value fixes ReactiveX#2748
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
RxJS version: 5.4.2
Code to reproduce:
Expected behavior:
Should output
-1-2
Actual behavior:
Output:
-1
Additional information:
lastValue
/hasValue
are cleared out after_next
is called synchronously.https://github.com/ReactiveX/rxjs/blob/master/src/operator/debounceTime.ts#L98-L102
The text was updated successfully, but these errors were encountered: