@sap-ux/ui-components
Version:
SAP UI Components Library
9 lines • 487 B
TypeScript
/**
* Returns a function which calls the callback function only after the specified idle time.
*
* @param callback Function to execute
* @param delay Idle period in milliseconds after which the callback will be executed
* @returns A wrapper function that should be called to invoke the callback function after delay
*/
export declare function debounce<T extends unknown[]>(callback: (...args: T) => void, delay: number): (...args: T) => void;
//# sourceMappingURL=Debounce.d.ts.map