We currently have several emitters and subscribers for events and we should have a system standardizing it.
Needs
As a developer of the application
I want to be able to subscribe and emit events in a unified event bus
So that I can Add new features regarding events
Notes
Add the possibility to subscribe to events only inside the current module (either by subscribing to them, or by implementing it in the components).
Add a documentation for the format of the payload of the messages passed in the event bus.
Context
We currently have several emitters and subscribers for events and we should have a system standardizing it.
Needs
As a developer of the application
I want to be able to subscribe and emit events in a unified event bus
So that I can Add new features regarding events
Notes