DEV Community

Discussion on: Node.js: Unzip Async Await

Collapse
tugrul profile image
Tuğrul Topuz

You can use stream.finished instead of wrapping with Promise.

nodejs.org/api/stream.html#stream_...

Collapse
daviddalbusco profile image
David Dal Busco Author

Wrapping with Promise was my goal 😉 That being said, pretty cool! Thx for pointing stream.finished out, good one 👍