MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / cancelTimers

Function cancelTimers

packages/core/src/utils/debounce.ts:47–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 function cancelTimers(): void {
48 timerId !== undefined && clearTimeout(timerId);
49 maxTimerId !== undefined && clearTimeout(maxTimerId);
50 timerId = maxTimerId = undefined;
51 }
52
53 function flush(): unknown {
54 if (timerId !== undefined || maxTimerId !== undefined) {

Callers 1

invokeFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected