I am rather new to Node and am attempting to learn streaming; please correct me if my understanding is flawed.
Using fs.createReadStream and fs.createWriteStream together with .pipe method will effectively stream any kind of data. Also res.end method utilizes streaming by default.
So could we use fs.createReadStream together with res.end to create the same streaming effect? How would this look?
Under what circumstances would you normally use res.end?
Thank you