title: On an EventEmitter, how can I know all the events I can listen to?
body: <p>Supposing I have an object that inherited from <code>EventEmitter</code>, like a stream or any other, is there a good way to know all the events I can listen to, and all the attached event listeners ?</p>
  <p>I think the second part of the question is easy, <a href="http://nodejs.org/api/events.html#events_emitter_listeners_event" rel="nofollow noreferrer"><code>emitter.listeners(event)</code></a> will tell me all the listeners to an event. But is there a way to know beforehand all the events I can listen to?</p>