EventEmitter
Class defined in util/EventEmitter.js#7

Event support.

Emit an event.

Parameters
eventString
...arguments
Returns

true if a listener was notified, false otherwise.

Subscribe a listener to an event.

Optionally, a priority can be provided to control the order of all bindings. The default priority is 0. All listeners with the same priority remain in order of registration. A lower priority will make the listener be called later, a higher priority earlier.

Parameters
eventString
methodFunction
contextObject
optionsObject

Unsubscrive a listener from an event.

Parameters
eventString
methodFunction
contextObject
optionsObject