Home > @jsplumbtoolkit/browser-ui > debounce
debounce() function
Create a debounced version of the given function.
Signature:
export declare function debounce(fn: Function, timeout: number): Function;
Parameters
| Parameter | Type | Description |
|---|---|---|
| fn | Function | |
| timeout | number |
Returns:
Function