-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Refactor debounce implementation #833
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Unless you need it now, ehat do you think about keeping the builder private initially and only have the StreamExt fns as ways to create them? Then we have more time to refine the Api using real use cases.
Also, could you explain more what debounce is and when it is useful for Tokio apps?
@@ -117,6 +117,8 @@ extern crate tokio_uds; | |||
pub mod clock; | |||
#[cfg(feature = "codec")] | |||
pub mod codec; | |||
#[cfg(feature = "timer")] | |||
pub mod debounce; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The module should probably be under tokio::timer.
I'm going to revert the original PR (#834) as it broke CI (due to a conflict w/ another PR i believe) and I need to release crates and we still need to tweak the public API. Once that PR lands, could you update this PR to be a take 2? Sorry for the churn. |
Thanks for the work 👍 I'm going to close this due to inactivity and stagnation. If you want to revisit, we can talk about what steps are required to update it to the latest changes on master. |
So I'm actually in a situation where I'd like to revisit this right now. Use-case: We receive update events via a |
I'm very keen to see |
This addresses the feedback from #747 (review).
Improved documentation will follow.