The maximum number of calls before the function will be executed
The maximum number of milliseconds before the function will be executed. If execution has not happened as calls are still occuring then this the maximum number of milliseconds allowed to pass before the function will be executed.
If supplied this function will be called if the debounced function is cancelled defaults
Used to create the arguments to fn
when it is
executed. It is run for every call of the debounced function. The default
implementation is to execute func
with the latest arguments.
Generated using TypeDoc
Options for debounce