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

Function flush

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

Source from the content-addressed store, hash-verified

51 }
52
53 function flush(): unknown {
54 if (timerId !== undefined || maxTimerId !== undefined) {
55 return invokeFunc();
56 }
57 return callbackReturnValue;
58 }
59
60 function debounced(): unknown {
61 if (timerId) {

Callers

nothing calls this directly

Calls 1

invokeFuncFunction · 0.85

Tested by

no test coverage detected