- Add a flag to our module metadata to indicate that we want to handle events
- Include a new method that will receive
Setting up a module to handle events
To set up a module to handle events, we need to add a new flag to the module metadata calledeventAware and set it to true.
handle_event that will be called by the module runtime when an event is triggered.
