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

Node is actually best used with Promises, which aren't even mentioned in this post.

Promises, aside from being far more concise with a huge amount of utility, do not leak errors or exceptions.

    doAMillionThings()
    .catch((err) => handleAnything(err));



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: