Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/txthinking/brook
/ WaitReadErr
Function
WaitReadErr
waitreaderr.go:19–26 ·
view source on GitHub ↗
(conn net.Conn)
Source
from the content-addressed store, hash-verified
17
import
"net"
18
19
func
WaitReadErr(conn net.Conn) {
20
var
b [2048]byte
21
for
{
22
if
_, err := conn.Read(b[:]); err != nil {
23
return
24
}
25
}
26
}
Callers
3
NewStreamServer
Function · 0.85
Read
Method · 0.85
NewSimpleStreamServer
Function · 0.85
Calls
1
Read
Method · 0.45
Tested by
no test coverage detected