MCPcopy Create free account
hub / github.com/denoland/std / clear

Method clear

async/debounce.ts:12–12  ·  view source on GitHub ↗

Clears the debounce timeout and omits calling the debounced function.

()

Source from the content-addressed store, hash-verified

10 (...args: T): void;
11 /** Clears the debounce timeout and omits calling the debounced function. */
12 clear(): void;
13 /** Clears the debounce timeout and calls the debounced function immediately. */
14 flush(): void;
15 /** Returns a boolean whether a debounce call is pending or not. */

Callers 15

clearMethod · 0.65
memoize_test.tsFile · 0.65
lru_cache_test.tsFile · 0.65
ttl_cache_test.tsFile · 0.65
clearMethod · 0.65
debounce_test.tsFile · 0.65
#clearCountersMethod · 0.65
debounceFunction · 0.65
withTestNameFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected