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

Function start

packages/app/src/components/debug-bar.tsx:361–372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359 }
360
361 const start = () => {
362 if (document.visibilityState !== "visible") return
363 if (poll === undefined) {
364 poll = window.setInterval(() => {
365 syncLong()
366 syncInp()
367 syncHeap()
368 }, 1000)
369 }
370 if (raf !== 0) return
371 raf = requestAnimationFrame(loop)
372 }
373
374 const vis = () => {
375 if (document.visibilityState !== "visible") {

Callers 4

DialogSelectDirectoryV2Function · 0.70
navigateFunction · 0.70
visFunction · 0.70
DebugBarFunction · 0.70

Calls 3

syncLongFunction · 0.85
syncInpFunction · 0.85
syncHeapFunction · 0.85

Tested by

no test coverage detected