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

Function NewPubSub

pkg/events/basic/pubsub.go:34–36  ·  view source on GitHub ↗

NewPubSub returns a new basic event PubSub.

()

Source from the content-addressed store, hash-verified

32
33// NewPubSub returns a new basic event PubSub.
34func NewPubSub() *PubSub {
35 return &PubSub{}
36}
37
38// Subscribe starts a subscription for events that match name and identifiers.
39// The subscription lasts until the context is canceled.

Callers 8

ExampleFunction · 0.92
NewPubSubFunction · 0.92
TestEphemeralPassthroughFunction · 0.92
TestMultiplexingFunction · 0.92
ExampleFunction · 0.92
TestPubSubFunction · 0.92
NewPubSubFunction · 0.92
InitializeEventsFunction · 0.92

Calls

no outgoing calls

Tested by 5

ExampleFunction · 0.74
TestEphemeralPassthroughFunction · 0.74
TestMultiplexingFunction · 0.74
ExampleFunction · 0.74
TestPubSubFunction · 0.74