Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tinode/chat
/ Add
Method
Add
server/sessionstore.go:35–43 ·
view source on GitHub ↗
(delta int)
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(w *boundedWaitGroup) Add(delta int) {
36
if
delta <= 0 {
37
return
38
}
39
for
range
delta {
40
w.sem <-
struct
{}{}
41
}
42
w.wg.Add(delta)
43
}
44
45
func
(w *boundedWaitGroup) Done() {
46
select
{
Callers
1
NewSession
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected