KDAB/KDBindings

Add facilities for signal throttling and debouncing

seanharmer opened this issue · 1 comments

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);

?

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