Without triggering the 'possible EventEmitter memory leak detected' warning.
Allow more than 10 streams in a concat
Allow at least the default amount of listeners
For when we concat fewer than 10 streams. There doesn't seem to be a stable API for getting the current or default `maxListeners` count for a stream so just using 10 here.
with node v0.10.26, this DOES NOT work:
require('events').EventEmitter.defaultMaxListeners = 30;
but this works:
require('events').EventEmitter.prototype._maxListeners = 30;
It's a dirty workaround.
don't set the max listeners globally in a module. If you do that in your application that is up to you, but don't mess with someone else's global state.
Sorry I forgot about this, but can you make this a pull request to stream-combiner, not event-stream?