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

Function clearTimer

packages/app/src/context/highlights.tsx:156–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 let timer: ReturnType<typeof setTimeout> | undefined
155
156 const clearTimer = () => {
157 if (timer === undefined) return
158 clearTimeout(timer)
159 timer = undefined
160 }
161
162 const markSeen = () => {
163 if (!platform.version) return

Callers 1

startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected