Publish and Subscribe to Events on the Bus
The first step in publishing events is to create your own listener interface.
The next step is to add subscribers to the bus using your new listener interface (lines 4 & 12). finally, you then create a publisher you can call when you need to send a notification (line 20).