MCPcopy Create free account
hub / github.com/anomalyco/opencode / active

Function active

packages/desktop/src/main/unresponsive.ts:13–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 const samples = new Map<string, number>()
12
13 const active = () => sampling && !win.isDestroyed() && !win.webContents.isDestroyed()
14 const clearTimers = () => {
15 if (sampleTimer) clearTimeout(sampleTimer)
16 if (stopTimer) clearTimeout(stopTimer)

Callers 1

collectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected