MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / setEnabled

Method setEnabled

src/utils/PerformanceMonitor.ts:342–348  ·  view source on GitHub ↗

* Enable or disable performance monitoring

(enabled: boolean)

Source from the content-addressed store, hash-verified

340 * Enable or disable performance monitoring
341 */
342 setEnabled(enabled: boolean): void {
343 this.enabled = enabled;
344
345 if (!enabled) {
346 this.clear();
347 }
348 }
349
350 /**
351 * Export performance data for analysis

Callers

nothing calls this directly

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected