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

Function createReadyWatcher

packages/session-ui/src/pierre/file-runtime.ts:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4}
5
6export function createReadyWatcher(): ReadyWatcher {
7 return { token: 0 }
8}
9
10export function clearReadyWatcher(state: ReadyWatcher) {
11 state.observer?.disconnect()

Callers 2

DiffSSRViewerFunction · 0.90
useFileViewerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected