Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jitl
on Oct 13, 2024
|
parent
|
context
|
favorite
| on:
Node.js, Pipes, and Disappearing Bytes
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: