Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/websocket
/ casClosing
Method
casClosing
close.go:324–326 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
322
}
323
324
func
(c *Conn) casClosing() bool {
325
return
c.closing.Swap(true)
326
}
327
328
func
(c *Conn) isClosed() bool {
329
select
{
Callers
4
Close
Method · 0.95
CloseNow
Method · 0.95
handleControl
Method · 0.95
writeFrame
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected