Works with
•JSR Score70%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
debounce<T extends Array<any>>(): DebouncedFunction<T>
fn: () => void,
this: DebouncedFunction<T>,
...args: T
wait: number
Creates a debounced function that delays the given func
by a given wait time in milliseconds. If the method is called
again before the timeout expires, the previous call will be
aborted.
Interfaces
I
A debounced function that will be delayed by a given wait
time in milliseconds. If the method is called again before
the timeout expires, the previous call will be aborted.