AbstractMethod to add a new handler
Function to run when the event is triggered
Method to check if the Array has a given handler
Function to run when the event is triggered
Method to check if the Array has handlers
Method to remove a given handler
Function to run when the event is triggered
Method to trigger ahh handlers on the Array
Optionaldata: T
Data passed to the handlers
Extra arguments passed to the handlers
AbstractaddMandatory method implemenation to add events. this will be different, if it's a listener or an observer
AbstractremoveMandatory method implemenation to remove events. this will be different, if it's a listener or an observer
Abstract class that will be responsible for the basic behaviours of an event, namely storing the handlers and their manipulation.