MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / flush

Method flush

cli/src/telemetry/metricHandler.ts:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 async flush() {
46 await this.requestService?.processAllRequests();
47 }
48
49 onEvent(metric: MetricRecord<MetricEvent>): void {
50 this.handler?.onEvent(metric);

Callers 4

logMethod · 0.45
onEventMethod · 0.45
flushSentryFunction · 0.45
initTelemetryFunction · 0.45

Calls 1

processAllRequestsMethod · 0.80

Tested by

no test coverage detected