MCPcopy
hub / github.com/xnimorz/use-debounce / DebouncedState

Interface DebouncedState

src/useDebouncedCallback.ts:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 * Note, that if there are no previous invocations you will get undefined. You should check it in your code properly.
49 */
50export interface DebouncedState<T extends (...args: any) => ReturnType<T>>
51 extends ControlFunctions<ReturnType<T>> {
52 (...args: Parameters<T>): ReturnType<T> | undefined;
53}
54
55/**
56 * Creates a debounced function that delays invoking `func` until after `wait`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…