eventify library

Classes

Event
Event class. This is send back to the subscriber when an event is triggered, Subscriber can use the instance to retrieve the event data and other event related parameters. eventName is a mandatory parameter and will represent the current event.
EventEmitter
Listener
Listener is one who listen for specific event. Listener register for notification with EventEmitter Once the listener is registered, a Listener interface is returned back to the caller. Caller can use this Listener interface to cancel the registration or check the state.

Typedefs

CancelEvent() → void
Handler for cancelling the event registration.
EventCallback(Event ev, Object context) → void