Re:Node.js stream handbook
by Touche on Friday December 19, 2014 @12:53PM
(#8773375)
With streams you don't wait for them to end. They may never end, in fact.
[ Parent
| on HN ]
Re:Node.js stream handbook
by shortstuffsushi on Friday December 19, 2014 @01:37PM
(#8773667)
Which is unlike Promises, which guarantee a single "end," but also don't care when that ends (could have already happened, could happen eventually). Seems similar in nature to a socket connection.