MCPcopy Index your code
hub / github.com/anomalyco/opencode / schedule

Function schedule

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

Source from the content-addressed store, hash-verified

19 }
20
21 const schedule = () => {
22 sampleTimer = setTimeout(() => {
23 void collect()
24 }, sampleInterval)
25 }
26
27 const collect = async () => {
28 if (!active()) return

Callers 2

collectFunction · 0.70
startFunction · 0.70

Calls 1

collectFunction · 0.70

Tested by

no test coverage detected