An event strategy is a rule that assigns an event handler to a certain event, and are used to define "what to do" when a certain event is emitted in W3bstream.
Multiple event strategies can be defined for each W3bstream project, and it must include the name of the event to be handled, the name of the event handler function, and the project's applet that exports the handler.
Messages that do not include in their header an event_type that is matched by an event strategy of their recipient project, will not trigger any logic execution. Instead, they will just be logged in the console, before being dropped by W3bstream.
💡 Learn more