mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: correct effects to affects
PR-URL: https://github.com/nodejs/node/pull/16794 Fixes: https://github.com/nodejs/node/issues/16793 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -268,7 +268,7 @@ property can be used. If this value is not a positive number, a `TypeError`
|
||||
will be thrown.
|
||||
|
||||
Take caution when setting the `EventEmitter.defaultMaxListeners` because the
|
||||
change effects *all* `EventEmitter` instances, including those created before
|
||||
change affects *all* `EventEmitter` instances, including those created before
|
||||
the change is made. However, calling [`emitter.setMaxListeners(n)`][] still has
|
||||
precedence over `EventEmitter.defaultMaxListeners`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user