Extends
- EventEmitter
Methods
emit(event, args, callback)
Raises the specified event and executes event listeners in series.
Parameters:
Name | Type | Description |
---|---|---|
event |
String | The event that is going to be raised. |
args |
* | An object that contains the event arguments. |
callback |
function | A callback function to be invoked after the execution. |