useDebouncedCallback
API
import useDebouncedCallback from '@restart/hooks/useDebouncedCallback'useDebouncedCallback<TCallback>(fn: TCallback, delay: number) => TCallbackCreates a debounced function that will invoke the input function after the specified delay.
Parameters
fnTCallbacka function that will be debounced
delaynumberThe milliseconds delay before invoking the function
Return Value TCallback