Class: EventEmitter
The EventEmitter
class is defined and exposed by the events
module:
const EventEmitter = require('events');
All EventEmitters emit the event 'newListener'
when new listeners are added and 'removeListener'
when a listener is removed.
Please login to continue.