Share your code.
Creates an event emitter attached to another event emitter, but bound to stream life.
When stream ends, all event listeners are removed.
$ npm install emitter-in-stream
var EIS = ;
Wrap emitter and stream
var ee = ;var stream = //...var eis = ;// orvar eis = ;eis;
When stream ends, all listeners are removed from original emitter