MCPcopy
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
199func 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

mainFunction · 0.92

Calls 2

IsReadyMethod · 0.65
StopMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…