Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/agentapi
/ Unsubscribe
Method
Unsubscribe
lib/httpapi/events.go:290–294 ·
view source on GitHub ↗
(chanId int)
Source
from the content-addressed store, hash-verified
288
}
289
290
func
(e *EventEmitter) Unsubscribe(chanId int) {
291
e.mu.Lock()
292
defer
e.mu.Unlock()
293
e.unsubscribeInner(chanId)
294
}
Callers
2
subscribeEvents
Method · 0.80
subscribeScreen
Method · 0.80
Calls
1
unsubscribeInner
Method · 0.95
Tested by
no test coverage detected