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

I rarely use promises. Just for the most simplest logics. When a package return promises in its API, I just use Rx.Observable.fromPromise(theRomise) . ReactiveX, especially RxJS, is so powerful to handle async events, from differents sources to differents logics. You can build powerful pipelines with it.



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

Search: