MCPcopy
hub / github.com/chartdb/chartdb / DebouncedFunction

Interface DebouncedFunction

src/hooks/use-debounce-v2.ts:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { debounce as utilsDebounce } from '@/lib/utils';
3
4interface DebouncedFunction {
5 // eslint-disable-next-line @typescript-eslint/no-explicit-any
6 (...args: any[]): void;
7 cancel?: () => void;
8}
9
10/**
11 * A hook that returns a debounced version of the provided function.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected