debounce
Public Function
Debounce a function.
Example
const A = debounce(myFunction, 1000)
Parameters
| Name | Description |
|---|---|
| |
| |
Returns
{
(...args: T): Promise<U>
cancel(): void
}
Public Function
Debounce a function.
const A = debounce(myFunction, 1000)
| Name | Description |
|---|---|
| |
| |
{
(...args: T): Promise<U>
cancel(): void
}