Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/coder/websocket
/ clearReadTimeout
Method
clearReadTimeout
conn.go:201–203 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
199
}
200
201
func
(c *Conn) clearReadTimeout() {
202
swapTimeoutStop(&c.readTimeoutStop, nil)
203
}
204
205
func
swapTimeoutStop(p *atomic.Pointer[
func
() bool], newStop *
func
() bool) {
206
oldStop := p.Swap(newStop)
Callers
3
setupReadTimeout
Method · 0.95
prepareRead
Method · 0.95
finishRead
Method · 0.95
Calls
1
swapTimeoutStop
Function · 0.85
Tested by
no test coverage detected