Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ emitRegistrationChange
Function
emitRegistrationChange
packages/opencode/src/lsp/client.ts:154–156 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
152
pullDiagnostics.set(filePath, next)
153
}
154
const
emitRegistrationChange = () => {
155
for
(
const
listener of [...registrationListeners]) listener()
156
}
157
158
// --- LSP connection handlers ---
159
Callers
1
create
Function · 0.85
Calls
1
listener
Function · 0.70
Tested by
no test coverage detected