joepie91 / node-combined-stream2

A drop-in Streams2-compatible replacement for combined-stream.
11 stars 4 forks source link

event when all streams are complete #3

Open george-norris-salesforce opened 8 years ago

george-norris-salesforce commented 8 years ago

Is there an on('end') event or something equiv to emit when all streams have completed?

joepie91 commented 8 years ago

A combined-stream2 stream is just a stream.Readable with some custom reading logic - and since the Streams API specifies the end event, that means that combined-stream2 will have an end event that works the same as for other Readable streams.

If that isn't the case, and you're not seeing an end event, then that's a bug - and a simplified testcase would help to pin down why it's happening :)