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

Method flush

packages/node-core/src/light/client.ts:55–61  ·  view source on GitHub ↗
(timeout?: number)

Source from the content-addressed store, hash-verified

53 /** @inheritDoc */
54 // @ts-expect-error - PromiseLike is a subset of Promise
55 public async flush(timeout?: number): PromiseLike<boolean> {
56 if (this.getOptions().sendClientReports) {
57 this._flushOutcomes();
58 }
59
60 return super.flush(timeout);
61 }
62
63 /** @inheritDoc */
64 // @ts-expect-error - PromiseLike is a subset of Promise

Callers 1

_initFunction · 0.95

Calls 2

getOptionsMethod · 0.65
flushMethod · 0.65

Tested by

no test coverage detected