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

Interface CallOptions

src/useDebouncedCallback.ts:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7} from 'react';
8
9export interface CallOptions {
10 /**
11 * Controls if the function should be invoked on the leading edge of the timeout.
12 */
13 leading?: boolean;
14 /**
15 * Controls if the function should be invoked on the trailing edge of the timeout.
16 */
17 trailing?: boolean;
18}
19
20export interface Options extends CallOptions {
21 /**

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…