mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
9 lines
354 B
TypeScript
9 lines
354 B
TypeScript
/**
|
|
* Creates a debounced function that will invoke the input function after the
|
|
* specified delay.
|
|
*
|
|
* @param fn a function that will be debounced
|
|
* @param delay The milliseconds delay before invoking the function
|
|
*/
|
|
export default function useDebouncedCallback<TCallback extends (...args: any[]) => any>(fn: TCallback, delay: number): TCallback;
|