From da10bb85ff0098836c53ce96e521a9d3d3422e86 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 12 Mar 2013 00:03:56 +0100 Subject: [PATCH] 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. --- doc/api/events.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/api/events.markdown b/doc/api/events.markdown index 10b9ed0441..940b8e242e 100644 --- a/doc/api/events.markdown +++ b/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.