Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ close
Method
close
packages/opencode/test/mcp/lifecycle.test.ts:136–138 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
134
if
(connectShouldFail) throw
new
Error(connectError)
135
}
136
async
close() {
137
transportCloseCount++
138
}
139
}
140
141
void mock.module(
"@modelcontextprotocol/sdk/client/stdio.js"
, () => ({
Callers
15
webSocketClose
Method · 0.45
createPlatform
Function · 0.45
runDesktopMenuAction
Function · 0.45
index.ts
File · 0.45
writeZip
Function · 0.45
readAttachment
Function · 0.45
allocatePort
Function · 0.45
pump
Function · 0.45
onAbort
Function · 0.45
fromWebSocket
Function · 0.45
queryZedActiveEditor
Function · 0.45
queryZedEditorSelections
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected