title: Wrapping Promise based JavaScript HTTP client with RxJs Observable
body: <p>I was thinking of using Observables to add .flatMapLatest() &amp; .throttle() functionality to a Promise based HTTP client library (axios). But I'm not going to change the whole application to work with Observables, so I would need something like this:</p>
  
  <p>Promise -> Observable -> Promise</p>
  
  <p>Anyone managed to do something like this? None of the examples I've found do exactly that.</p>
  
  <p>I know that RxJs provides a way to make an Observable from Promise and then convert it back to Promise, but haven't figured out how I could apply that to multiple Promises created by random subsequent HTTP client calls.</p>