Attempt to call the function. Pass in the functions parameters. It will not run until the delay is finished, and will be replaced by the next call to run if the delay isn't finished.
Rest
...args: Parameters<F>Run the function immediately, stopping any previous timers. After this, another call to run will work as if its the first time called.
Rest
...args: Parameters<F>Generated using TypeDoc v0.25.12
A class for debouncing a function. That means multiple calls to the same function will only fire a period of time after the first, so that the same function can be requested quickly but only fired after the time completed
Example