Streams are a big part of Node's famous non-blocking I/O, and Express lets you take full advantage of them. This lesson demonstrates how to integrate streams into your server to improve performance and simplify your code.
We will look at
.pipe to read and write from streams.
This lesson is really informative. Thanks !
How do you suggest handling errors that occur while piping?
Thank you for the great videos - Thomas
I think you'd just set up error handling the way you would any time you're using streams, and then make sure you send an appropriate error status with the response.