MCPcopy 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
290func (e *EventEmitter) Unsubscribe(chanId int) {
291 e.mu.Lock()
292 defer e.mu.Unlock()
293 e.unsubscribeInner(chanId)
294}

Callers 2

subscribeEventsMethod · 0.80
subscribeScreenMethod · 0.80

Calls 1

unsubscribeInnerMethod · 0.95

Tested by

no test coverage detected