Browse Source

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.
v0.10.1-release
Ben Noordhuis 12 years ago
parent
commit
da10bb85ff
  1. 8
      doc/api/events.markdown

8
doc/api/events.markdown

@ -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…
Cancel
Save