Open george-norris-salesforce opened 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 :)
Is there an
on('end')
event or something equiv to emit when all streams have completed?