Use Promises with RxJS in Vue.js

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

A Promise invokes a function which stores a value that will be passed to a callback. So when you wrap a Promise with an Observable, you'll always get that same value. This enables you to use the behavior as a caching mechanism when the Promises make requests for remote data.