-
Notifications
You must be signed in to change notification settings - Fork 44
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
Debounce keeps emitting values even though debounced publisher is not publishing #46
Comments
I find a test case described this behaviour. It seems to be intended, but I can't reproduce this behaviour with Combine. @luoxiu |
Actually the CI is completely broken... |
According to this test combine has the same behavior. |
@luoxiu Yes, I am switching back and forth and Native Combine does not do that. That use case where debounce keeps publishing without input seems like a very specific one. Afaik Debounce does not emit any values if new input was received in the debounce interval and finally publishes 1 event when no new inputs were received and the time expired. |
@jakobmygind I will investigate this, thanks for the feedback! You are making cx better! |
@luoxiu Thank you! |
Debounce seems to get into an endless loop emitting last received value.
This code:
Gives this result:
The text was updated successfully, but these errors were encountered: