mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user