MCPcopy Index your code
hub / github.com/Monibuca/engine / rangeAll

Method rangeAll

subscribers.go:58–65  ·  view source on GitHub ↗
(f func(sub ISubscriber, wait *waitTracks))

Source from the content-addressed store, hash-verified

56}
57
58func (s *Subscribers) rangeAll(f func(sub ISubscriber, wait *waitTracks)) {
59 for sub, wait := range s.internal {
60 f(sub, wait)
61 }
62 for sub, wait := range s.public {
63 f(sub, wait)
64 }
65}
66
67func (s *Subscribers) OnTrack(track common.Track) {
68 s.rangeAll(func(sub ISubscriber, wait *waitTracks) {

Callers 3

RangeAllMethod · 0.95
OnTrackMethod · 0.95
OnPublisherLostMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected