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

Function flush

dev-packages/node-integration-tests/src/index.ts:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 return Promise.resolve({ statusCode: 200 });
14 },
15 flush(): PromiseLike<boolean> {
16 return new Promise(resolve => setTimeout(() => resolve(true), 1000));
17 },
18 };
19}
20

Callers 13

_wrapHttpFunctionFunction · 0.90
_wrapEventFunctionFunction · 0.90
_wrapCloudEventFunctionFunction · 0.90
processResultFunction · 0.90
processStreamingResultFunction · 0.90
flushMethod · 0.50
flushMethod · 0.50
flushMethod · 0.50
flushMethod · 0.50
flushMethod · 0.50
flushMethod · 0.50
flushMethod · 0.50

Calls 2

setTimeoutFunction · 0.85
resolveFunction · 0.50

Tested by

no test coverage detected