MCPcopy Create free account
hub / github.com/Monibuca/engine / RangeAll

Method RangeAll

subscribers.go:52–56  ·  view source on GitHub ↗
(f func(sub ISubscriber))

Source from the content-addressed store, hash-verified

50}
51
52func (s *Subscribers) RangeAll(f func(sub ISubscriber)) {
53 s.rangeAll(func(sub ISubscriber, wait *waitTracks) {
54 f(sub)
55 })
56}
57
58func (s *Subscribers) rangeAll(f func(sub ISubscriber, wait *waitTracks)) {
59 for sub, wait := range s.internal {

Callers

nothing calls this directly

Calls 1

rangeAllMethod · 0.95

Tested by

no test coverage detected