MCPcopy Create free account
hub / github.com/arctic-cli/interface / isEnabled

Function isEnabled

packages/arctic/src/telemetry/index.ts:33–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 let contextCache: Context | undefined
32
33 export async function isEnabled(): Promise<boolean> {
34 if (enabledCache !== undefined) return enabledCache
35 const enabled = await Global.getTelemetryEnabled()
36 enabledCache = enabled
37 return enabled
38 }
39
40 export async function setEnabled(enabled: boolean): Promise<void> {
41 enabledCache = enabled

Callers 3

trackFunction · 0.70
flushFunction · 0.70
dailyHeartbeatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected