Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ clear
Function
clear
packages/session-ui/src/components/message-part.tsx:262–266 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
260
let timeout: ReturnType<typeof setTimeout> | undefined
261
262
const clear = () => {
263
if (!timeout) return
264
clearTimeout(timeout)
265
timeout = undefined
266
}
267
268
const sync = (text: string) => {
269
shown = text
Callers
1
createPacedValue
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected