How to use the EventEmitter function from eventemitter2

Find comprehensive JavaScript eventemitter2.EventEmitter code examples handpicked from public code repositorys.

138
139
140
141
142
143
144
145
146
147
148
149
  // have been set
  //
  bootstrap(this);
});


// Inherit from events.EventEmitter
util.inherits(Monitor, events.EventEmitter2);


//
// ### function start ([restart])
fork icon0
star icon0
watch icon1