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

Function scheduleZedPoll

packages/tui/src/context/editor.ts:284–288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282 }
283
284 const scheduleZedPoll = () => {
285 if (closed) return
286 if (reconnect) clearTimeout(reconnect)
287 reconnect = setTimeout(connect, 1000)
288 }
289
290 const reconnectWithDirectory = (nextDirectory?: string) => {
291 const resolved = nextDirectory || paths.cwd

Callers 1

connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected