-
Notifications
You must be signed in to change notification settings - Fork 7.3k
make ee._maxListeners
public
#8237
Comments
Can't you just do it with a setMaxListeners? |
The idea is to |
Ok, sou you really need |
@indutny maybe just rename |
@vkurchatkin I wouldn't say it's java-ish. Now Anyway, I prefer this because internal implementation can change in the future and changes in the implementation details can be masked behind the function call. |
Fixes nodejs/node-v0.x-archive#8237. PR-URL: #71 Reviewed-By: Ben Noordhuis <[email protected]>
Oops. GitHub went ahead and closed that on its own. |
Landed in io.js. Will pick it up in the converged stream. see https://iojs.org/api/events.html#events_emitter_getmaxlisteners |
any reason it's private? i'd like to increment/decrement the value as i add/remove listeners to avoid the stupid warning while not being irresponsible. specifically:
The text was updated successfully, but these errors were encountered: