mirror of https://github.com/nodejs/node.git
doc: events: add 'removeListener' event section
Amends commit 84221fd
by (also) documenting the 'removeListener' event
in a dedicated section, like the 'newListener' event.
Fixes #4977.
pull/24507/merge
parent
228ad9357c
commit
da10bb85ff
|
@ -99,3 +99,11 @@ Return the number of listeners for a given event.
|
|||
* `listener` {Function} The event handler function
|
||||
|
||||
This event is emitted any time someone adds a new listener.
|
||||
|
||||
|
||||
### Event: 'removeListener'
|
||||
|
||||
* `event` {String} The event name
|
||||
* `listener` {Function} The event handler function
|
||||
|
||||
This event is emitted any time someone removes a listener.
|
||||
|
|
Loading…
Reference in New Issue