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
Ben Noordhuis 2013-03-12 00:03:56 +01:00
parent 228ad9357c
commit da10bb85ff
1 changed files with 8 additions and 0 deletions

View File

@ -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.