UNPKG

simple-lazy-debounce

Version:
9 lines (7 loc) 347 B
interface DebounceOptions { defaultDelay?: number; maxDelay?: number; latencyIncrement?: number; } declare const SimpleLazyDebounce: <T extends unknown[]>(callback: (..._args: T) => void, { defaultDelay, maxDelay, latencyIncrement, }?: DebounceOptions) => ((..._args: T) => void); export { type DebounceOptions, SimpleLazyDebounce };