Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are there still no async write functions which handle this easier than the old event based mechanism? Waiting for drain also sounds like it might reduce throughout since then there is 0 buffered data and the peer would be forced t Öl pause reading. A „writable“ event sounds more appropriate - but the node docs don’t mention one.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: