Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
log
Method · 0.45
onEvent
Method · 0.45
flushSentry
Function · 0.45
initTelemetry
Function · 0.45
Calls
1
processAllRequests
Method · 0.80
Tested by
no test coverage detected