Abstraction needed because there are more than two ways to
handle Custom Events.
Ex:
window.dispatchEvent(...);
document.dispatchEvent(...);
element.dispatchEvent(...);
new EventTarget().dispatchEvent(...)
This class creates the API to use an unique interface implementation
for the Publish/Subscribe Design Pattern sitting on top of the standard
Custom Events Web API.
Class representing the events broker agent
Abstraction needed because there are more than two ways to handle Custom Events.
Ex:
window.dispatchEvent(...); document.dispatchEvent(...); element.dispatchEvent(...); new EventTarget().dispatchEvent(...)
This class creates the API to use an unique interface implementation for the Publish/Subscribe Design Pattern sitting on top of the standard Custom Events Web API.