RxJS: How to Use Lettable Operators with Promises
2 min readOct 3, 2017
With the release of RxJS 5.5.0-beta.5, toPromise
is now attached to Observable.prototype
, rendering this look at its ‘lettable’ variant a historical curiosity.
Converting observables to promises is an antipattern. Unless you are integrating observables with a promise-based API, there is no reason to convert an observable into a promise.