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

Function flush

packages/bun/test/sdk.test.ts:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

setTimeoutFunction · 0.85
resolveFunction · 0.50

Tested by

no test coverage detected