Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinode/chat
/ Stop
Function
Stop
server/push/push.go:199–210 ·
view source on GitHub ↗
Stop all pushes
()
Source
from the content-addressed store, hash-verified
197
198
// Stop all pushes
199
func
Stop() {
200
if
handlers == nil {
201
return
202
}
203
204
for
_, hnd :=
range
handlers {
205
if
hnd.IsReady() {
206
// Will potentially block
207
hnd.Stop()
208
}
209
}
210
}
Callers
1
main
Function · 0.92
Calls
2
IsReady
Method · 0.65
Stop
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…