Hacker Newsnew | past | comments | ask | show | jobs | submit | geeg's commentslogin


In case of error, I will return stats as 'rejected' and reason as the error thrown by the promise. Sample: https://github.com/rpgeeganage/alls#final-output


I usually don't use any 3rd party library as a replacement for native promises. The main advantage of the package is, it does not depend on any 3rd party library (except for testing and TypeScript related stuff)



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

Search: