Re:Node.js, Pipes, and Disappearing Bytes
by jitl on Sunday October 13, 2024 @05:33PM
(#41831819)
When you want to await a single instance of a Node EventEmitter, please use `stream.once('drain', (err) => ...)` so you don't leak your listener callback after the promise resolves.
[ Parent
| on HN ]
There are no comments on this comment yet.