Skip to content
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

Add facilities for signal throttling and debouncing #44

Open
seanharmer opened this issue Sep 28, 2023 · 1 comment
Open

Add facilities for signal throttling and debouncing #44

seanharmer opened this issue Sep 28, 2023 · 1 comment

Comments

@seanharmer
Copy link
Contributor

seanharmer commented Sep 28, 2023

As is commonly used in the js world or for e.g. https://github.com/KDAB/KDToolBox/tree/master/qt/KDSignalThrottler

Not sure which type of syntax would be most useful.

Maybe:

mySignal.debounce(100).connect(&MyClass::doSomething, myObj);

?

@phyBrackets
Copy link
Contributor

phyBrackets commented Sep 28, 2023

another idea is mySignal.connectWithDebouncing(&MyClass::doSomething, 1000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants