MCPcopy Index your code
hub / github.com/anomalyco/opencode / cleanupSocket

Function cleanupSocket

packages/opencode/src/plugin/openai/ws.ts:143–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 let socket = options.socket
142 let controller: ReadableStreamDefaultController<Uint8Array> | undefined
143 let cleanupSocket = () => {}
144 let completed = false
145 let emitted = false
146 let idleTimer: ReturnType<typeof setTimeout> | undefined

Callers 3

cleanupFunction · 0.85
onMessageFunction · 0.85
attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected