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

Function flush

packages/core/src/transports/base.ts:37–37  ·  view source on GitHub ↗
(timeout?: number)

Source from the content-addressed store, hash-verified

35): Transport {
36 let rateLimits: RateLimits = {};
37 const flush = (timeout?: number): PromiseLike<boolean> => buffer.drain(timeout);
38
39 function send(envelope: Envelope): PromiseLike<TransportMakeRequestResponse> {
40 const filteredEnvelopeItems: EnvelopeItem[] = [];

Callers

nothing calls this directly

Calls 1

drainMethod · 0.65

Tested by

no test coverage detected