Files
emaui/node_modules/@mantine/hooks/lib/use-throttled-callback/use-throttled-callback.d.ts
2026-05-29 15:23:46 +03:00

3 lines
323 B
TypeScript

export declare function useThrottledCallbackWithClearTimeout<T extends (...args: any[]) => any>(callback: T, wait: number): readonly [(...args: Parameters<T>) => void, () => void];
export declare function useThrottledCallback<T extends (...args: any[]) => any>(callback: T, wait: number): (...args: Parameters<T>) => void;