Ant's Rants

Antony Courtney

Musings by Antony Courtney on a variety of technical topics.


Email: firstName AT My Domain Name
Blog Feed: RSS

Do Rx Observables Subsume Promises?

Last week I attended an excellent talk by Jafar Husain on how Netflix uses the Reactive Extensions Library for JavaScript (RxJs).
I’d actually already seen a YouTube video of this talk
a few months ago. But it’s truly an excellent talk, in that it both

But it’s truly an excellent talk
Included claim that there is no good reason to use promises, since their functionality is subsumed by Rx Observables.

My experience was that Rx was a bit awkward for at least one case.


Bit of explanation about what promises and Rx are.

The Sample Problem

Loading a bunch of large data files in to sqlite

Rx Impl

Promises Impl

comments powered by Disqus