1

I Have a bunch of API calls which I want to run in parallel using generators and redux saga (https://redux-saga.js.org/docs/api/#alleffects-parallel-effects). This works great, however, I want to show the progress of the operation. Basically how many requests have been resolved already.

I found this post, but it is working with plain promises.

This is my current impl without progress is:


yield all(features.map(feature => call(apiFunction, feature)))
Alexus
  • 1,035
  • 10
  • 16
  • As the answer you pointed out suggests, you have to listen for each call() to know that, just like in observables, you pass the modified observable to all() – Juan Mendes May 31 '19 at 12:01

0 Answers0