Debounce
Debounce Class
Bounce Method
Example:
var debouncer = new Debounce(() => {
//Perform action here after debounce has fired
});
debouncer.Bounce();
debouncer.Bounce();
var debouncer_int = new Debounce<int>((i) => {
//Perform action here after debounce has fired, in this case, (i = 3) is received
});
debouncer_int.Bounce(1);
debouncer_int.Bounce(2);
debouncer_int.Bounce(3);Disposing
Last updated

