title: How to call same API multiple times with different request in angular
body: <p>In my application where I have an array of objects. when I start clicking on a button, I have to call an API. here every object in my array should be as a payload request for the API. so I have to make API call multiple times for each object in the array. if any API call is failed it should stop the loop or process and if we start again from the failure one. once it completed all the objects in the array, the loop or process stops.</p>
  <p>can anyone help me out with how to achieve this in angular rxjs</p>