Looking to create a unique event that can be triggered from any component and listened to by any other component within my Angular 7 app.
Imagine having one component with a button that, when clicked, triggers the custom event along with some data. Then, there's another component constantly listening for this event, ready to execute code and update the UI accordingly once it's triggered.
Any suggestions on how I should go about implementing this?