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

Function schedule

packages/app/src/context/global-sync/queue.ts:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 const schedule = () => {
30 if (timer) return
31 timer = setTimeout(() => {
32 timer = undefined
33 void drain()
34 }, 0)
35 }
36
37 const push = (directory: string) => {
38 if (!directory) return

Callers 3

pushFunction · 0.70
refreshFunction · 0.70
drainFunction · 0.70

Calls 1

drainFunction · 0.70

Tested by

no test coverage detected