Hacker News new | comments | show | ask | jobs | submit login

Promises are a good option as well: https://gist.github.com/3889970

Node.js had promises early on, then were removed, but they're slowly gaining traction again.

My understanding is not that promises weren't valued, but that there were conflicting opinions on how to implement them, so promises were left in user land, in hopes that the community would vet a better solution than could be prescribed by the node team. https://groups.google.com/forum/#!msg/nodejs/jaufClrXU9U/ov5...

q seems to be a popular choice. https://github.com/kriskowal/q

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