Nothing has changed. Using defer is still the way to go if you need to turn a eager, promise-returning function into a lazy observable.

The only promise-related change that was effected with the introduction of lettable/pipeable operators was the moving of toPromise from an operator to an Observable method.

RxJS core team member; front-end developer; mentor; speaker; open-source contributor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store