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

The main thing in my mind is that it means your code could have cases where it throws synchronously, and cases where the promise rejects with an error.

One place this is mentioned is: https://github.com/petkaantonov/bluebird/wiki/Promise-anti-p...



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

Search: