The Event module implements an Observer pattern where you can add hooks (events) to your code and allow other modules to listen and react to those events.
There are two methods:
- Traditional Synchronous where listeners are handled at the same time as they are dispatched
- Asynchronous (Queueable) where events are put into a queue and handled later by some queue service.
- Add events
- Asynchronous events
- Configure an events queue
- Listening to events
- Listen to Events Using Subscriber
- Event priority