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

Function close

packages/opencode/src/plugin/openai/ws-pool.ts:180–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 }
179
180 function close() {
181 clearInterval(pruneTimer)
182 for (const entry of pool.values()) invalidate(entry)
183 pool.clear()
184 }
185
186 function remove(sessionID: string) {
187 const key = `${sessionID}:conversation`

Callers 1

serverLayerFunction · 0.50

Calls 3

invalidateFunction · 0.70
valuesMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected