@jfriend00 Thank you for the tip, I tried it in this sandbox but unless I add a listener to the data event of task the end event will not trigger. I have also updated the code in the question to the code used in the sandbox.
↧
Comment by HMR on Nodejs stream, how to indicate to piped streams the original one has no more data
↧