A Visual Guide to NodeJS Streams — Advanced NodeJS Part 4

Deepal Jayasekara
Deepal’s Blog
Published in
8 min readJun 10, 2021

--

Background Image Courtesy: Photo by Joshua Sortino on Unsplash

Imagine you have a pile of bricks somewhere. And you want to build a wall with those bricks here. Let’s say you have a friend to help move the bricks. To start building, you now have two options. You can either wait until your friend brings the whole pile of bricks to you, or you can start building as soon as you have a few bricks to start with, while your friend keeps bringing more bricks.

--

--

Staff Engineer, Interested in Cyber Security, Distributed Systems and Networking