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

Function WithPropagateToParent

pkg/events/options.go:164–168  ·  view source on GitHub ↗

WithPropagateToParent returns an option that propagate the event to its parent. Typically used to propagate end device events to applications.

()

Source from the content-addressed store, hash-verified

162// WithPropagateToParent returns an option that propagate the event to its parent.
163// Typically used to propagate end device events to applications.
164func WithPropagateToParent() DefinitionOption {
165 return definitionOptionFunc(func(d *definition) {
166 d.propagateToParent = true
167 })
168}

Callers 14

observability.goFile · 0.92
observability.goFile · 0.92
defineClassSwitchEventFunction · 0.92
observability.goFile · 0.92
observability.goFile · 0.92
observability.goFile · 0.92
observability.goFile · 0.92

Calls 1

definitionOptionFuncFuncType · 0.85

Tested by

no test coverage detected