MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Notify

Method Notify

pkg/events/basic/subscription.go:85–90  ·  view source on GitHub ↗

Notify notifies the subscription of a new matching event.

(evt events.Event)

Source from the content-addressed store, hash-verified

83
84// Notify notifies the subscription of a new matching event.
85func (s *Subscription) Notify(evt events.Event) {
86 if s == nil {
87 return
88 }
89 s.handler.Notify(evt)
90}

Callers

nothing calls this directly

Implementers 2

Subscriptionpkg/events/basic/subscription.go
subscriptionpkg/events/redis/subscription.go

Calls 1

NotifyMethod · 0.65

Tested by

no test coverage detected