notify
Notifies all registered listeners about an event.
This method should deliver the event to all currently registered listeners. The implementation should handle any exceptions thrown by individual listeners to prevent one listener from affecting others.
Parameters
event
The event to send to all listeners