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

Function sync

packages/session-ui/src/pierre/comment-hover.ts:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 let line: HoverCommentLine | undefined
35
36 const sync = () => {
37 const next = props.getHoveredLine()
38 if (!next) return
39 line = next
40 }
41
42 const loop = () => {
43 if (!button.isConnected) return

Callers 2

loopFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected