MCPcopy Index your code
hub / github.com/Marus/cortex-debug / sendEvent

Function sendEvent

src/reporting.ts:73–77  ·  view source on GitHub ↗
(category: string, action: string, label?: string, value?: number, options: { [key: string]: string } = {})

Source from the content-addressed store, hash-verified

71}
72
73function sendEvent(category: string, action: string, label?: string, value?: number, options: { [key: string]: string } = {}) {
74 if (!telemetryEnabled()) { return; }
75
76 analytics.event(category, action, label, Math.round(value), options).send();
77}
78
79function beginSession(id: string, opts: ConfigurationArguments) {
80 if (!telemetryEnabled()) { return; }

Callers

nothing calls this directly

Calls 1

telemetryEnabledFunction · 0.85

Tested by

no test coverage detected