Function useDebouncedCallback
- useDebouncedCallback<F>(func: F, time: number, deps: unknown[]): [debouncedFunction: ((...args: Parameters<F>) => void), isWaiting: boolean]
-
Parameters
-
func: F
-
time: number
-
deps: unknown[]
Returns [debouncedFunction: ((...args: Parameters<F>) => void), isWaiting: boolean]