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