Let's now create our EventDispatcher. This will act as the mediator between the event and its listeners.
The EventDispatcher will let the listeners know when the event occurs.
4 comments