remove a listener from the listener array for the specified event.
setMaxListeners
setMaxListeners(maxListeners:number):this
Parameters
maxListeners: number
Returns this
Description
by default EventEmitters will print a warning if more than 10 listeners are added for a particular event.
This is a useful default which helps finding memory leaks.
Obviously not all Emitters should be limited to 10. This function allows that limit to be increased.
Set to zero for unlimited.
Description
adds a listener to the end of the listeners array for the specified event.