MCPcopy
hub / github.com/tmrts/go-patterns / Notify

Method Notify

behavioral/observer/main.go:66–70  ·  view source on GitHub ↗
(e Event)

Source from the content-addressed store, hash-verified

64}
65
66func (p *eventNotifier) Notify(e Event) {
67 for o := range p.observers {
68 o.OnNotify(e)
69 }
70}
71
72func main() {
73 // Initialize a new Notifier.

Callers 1

mainFunction · 0.95

Calls 1

OnNotifyMethod · 0.65

Tested by

no test coverage detected