MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / schedule

Function schedule

cli/src/hooks/use-freebuff-session.ts:483–487  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

481 }
482
483 const schedule = (ms: number) => {
484 if (cancelled) return
485 clearTimer()
486 timer = setTimeout(tick, ms)
487 }
488
489 const tick = async () => {
490 if (cancelled) return

Callers 1

tickFunction · 0.85

Calls 2

clearTimerFunction · 0.85
setTimeoutFunction · 0.85

Tested by

no test coverage detected