Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/subtrace/subtrace
/ snapshot
Method
snapshot
devtools/devtools.go:117–121 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
115
}
116
117
func
(s *Server) snapshot() []*websocket.Conn {
118
s.mu.Lock()
119
defer
s.mu.Unlock()
120
return
append([]*websocket.Conn{}, s.conns...)
121
}
122
123
func
(s *Server) Send(b []byte) {
124
var
wg sync.WaitGroup
Callers
1
Send
Method · 0.95
Calls
1
Lock
Method · 0.80
Tested by
no test coverage detected