MCPcopy
hub / github.com/coder/websocket / isClosed

Method isClosed

close.go:328–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

326}
327
328func (c *Conn) isClosed() bool {
329 select {
330 case <-c.closed:
331 return true
332 default:
333 return false
334 }
335}

Callers 2

closeMethod · 0.95
writeFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected