SendEvent allows external components to send events to all listeners.
(evt Event)
| 111 | |
| 112 | // SendEvent allows external components to send events to all listeners. |
| 113 | func (rg *Static) SendEvent(evt Event) { |
| 114 | rg.broadcast(evt) |
| 115 | } |
| 116 | |
| 117 | func (rg *Static) RunPlugin(_ string) Output { |
| 118 | return rg.RunPluginContext(context.Background(), "") |