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

Function stop

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

Source from the content-addressed store, hash-verified

351 }
352
353 const stop = () => {
354 if (raf !== 0) cancelAnimationFrame(raf)
355 raf = 0
356 if (poll === undefined) return
357 clearInterval(poll)
358 poll = undefined
359 }
360
361 const start = () => {
362 if (document.visibilityState !== "visible") return

Callers 2

visFunction · 0.70
DebugBarFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected