MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / UnregisterWSChannel

Function UnregisterWSChannel

pkg/eventbus/eventbus.go:43–47  ·  view source on GitHub ↗
(connId string)

Source from the content-addressed store, hash-verified

41}
42
43func UnregisterWSChannel(connId string) {
44 globalLock.Lock()
45 defer globalLock.Unlock()
46 delete(wsMap, connId)
47}
48
49func SendEventToElectron(event WSEventType) {
50 barr, err := json.Marshal(event)

Callers 1

HandleWsInternalFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected