Debouncer class that can be used to prevent too many api calls or database connections at once.
Private
The debounce function that waits till a timer is run out without any more inputs before activating a function
the function you want to debounce
the time in milliseconds you want the debouncer to wait before activating a function
Debouncer class that can be used to prevent too many api calls or database connections at once.