diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-02-21 23:38:45 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-02-24 02:06:31 +0100 |
commit | 8fb16fdccdbd2a9b7958f9f1203304d69a5902cf (patch) | |
tree | be7df2236491c302fb9303adda4e596ce3105927 /doc/api/events.md | |
parent | 049a63601f313bdacd7fbe2450e39fe73329e829 (diff) | |
download | android-node-v8-8fb16fdccdbd2a9b7958f9f1203304d69a5902cf.tar.gz android-node-v8-8fb16fdccdbd2a9b7958f9f1203304d69a5902cf.tar.bz2 android-node-v8-8fb16fdccdbd2a9b7958f9f1203304d69a5902cf.zip |
doc: add changelogs for events
PR-URL: https://github.com/nodejs/node/pull/11489
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Diffstat (limited to 'doc/api/events.md')
-rw-r--r-- | doc/api/events.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/events.md b/doc/api/events.md index b468674c36..7a376415a8 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -222,6 +222,11 @@ myEmitter.emit('event'); ### Event: 'removeListener' <!-- YAML added: v0.9.3 +changes: + - version: v6.1.0, v4.7.0 + pr-url: https://github.com/nodejs/node/pull/6394 + description: For listeners attached using `.once()`, the `listener` argument + now yields the original listener function. --> * `eventName` {String|Symbol} The event name @@ -347,6 +352,11 @@ Returns the number of listeners listening to the event named `eventName`. ### emitter.listeners(eventName) <!-- YAML added: v0.1.26 +changes: + - version: v7.0.0 + pr-url: https://github.com/nodejs/node/pull/6881 + description: For listeners attached using `.once()` this returns the + original listeners instead of wrapper functions now. --> Returns a copy of the array of listeners for the event named `eventName`. |