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

Method Find

subscribers.go:117–124  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

115}
116
117func (s *Subscribers) Find(id string) ISubscriber {
118 for sub := range s.public {
119 if sub.GetSubscriber().ID == id {
120 return sub
121 }
122 }
123 return nil
124}
125
126func (s *Subscribers) Delete(suber ISubscriber) {
127 io := suber.GetSubscriber()

Callers 1

API_stop_subscribeMethod · 0.80

Calls 1

GetSubscriberMethod · 0.65

Tested by

no test coverage detected