Task: Concat Node Stream


Problem Solving


NodeJS, JavaScript, Stream Processing


Node's stream is a very powerful and mysterious structure to me. If you have read this document through, you probably know what I'm talking about. Hopefully you don't have to read it through to solve this task. Good luck, hahaha!


In this task, implement a function that given a list of Readable streams, return a Readable stream that is the concatenation of the input streams in the given order.

For example, if we represent a stream of values as an array, like [1, 2, 3], then

  • Given 3 streams [1, 2, 3], [4, 5, 6], [7, 8, 9]
  • The function should return a stream emitting values [1, 2, 3, 4, 5, 6, 7, 8, 9].

Trivial, right?


There is not configuration for this task.


Example test case is already provided in the template.

Get started
My Submissions

Submit to see your result!


Nobody here yet, solve it now to get on the board!