Debouncer
Debouncer interface
Signature:
export interface Debouncer<T extends unknown[], V>
Methods
| Method | Description |
|---|
cancel() | Cancel any pending debounced function call. |
run() | If there is any pending function call, clear the timer and call the function immediately. |