File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,11 @@ myEmitter.emit('event');
222222### Event: 'removeListener'
223223<!-- YAML
224224added: v0.9.3
225+ changes:
226+ - version: v6.1.0, v4.7.0
227+ pr-url: https://github.com/nodejs/node/pull/6394
228+ description: For listeners attached using `.once()`, the `listener` argument
229+ now yields the original listener function.
225230-->
226231
227232* ` eventName ` {String|Symbol} The event name
@@ -347,6 +352,11 @@ Returns the number of listeners listening to the event named `eventName`.
347352### emitter.listeners(eventName)
348353<!-- YAML
349354added: v0.1.26
355+ changes:
356+ - version: v7.0.0
357+ pr-url: https://github.com/nodejs/node/pull/6881
358+ description: For listeners attached using `.once()` this returns the
359+ original listeners instead of wrapper functions now.
350360-->
351361
352362Returns a copy of the array of listeners for the event named ` eventName ` .
You can’t perform that action at this time.
0 commit comments