MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / later

Function later

src/utils/debounce.ts:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16 const debounced = function debounced(this: T, ...args: A): void {
17 const later = () => {
18 timeout = null
19 if (!immediate) {
20 currentFunc.apply(this, args)
21 }
22 }
23
24 if (immediate && !timeout) {
25 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected