MCPcopy
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
324func (c *Conn) casClosing() bool {
325 return c.closing.Swap(true)
326}
327
328func (c *Conn) isClosed() bool {
329 select {

Callers 4

CloseMethod · 0.95
CloseNowMethod · 0.95
handleControlMethod · 0.95
writeFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected