MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / flush

Function flush

packages/core/src/transports/multiplexed.ts:166–170  ·  view source on GitHub ↗
(timeout: number | undefined)

Source from the content-addressed store, hash-verified

164 }
165
166 async function flush(timeout: number | undefined): Promise<boolean> {
167 const allTransports = [...otherTransports.values(), fallbackTransport];
168 const results = await Promise.all(allTransports.map(transport => transport.flush(timeout)));
169 return results.every(r => r);
170 }
171
172 return {
173 send,

Callers

nothing calls this directly

Calls 2

valuesMethod · 0.65
flushMethod · 0.65

Tested by

no test coverage detected