Within a redux
saga I am sending a half dozen fetch requests to different systems. I want to wait until all those requests return, then do some final processing on the results.
To this end I have an array of promises
, representing each query. I could call Promise.all()
on the array, but this would cause the saga to hang, and thus all events to hang, until the promises return.
I tried creating an async promise
that called promise.all
, then using the redux-effects
Call on that promise, but this also hung.
How can I keep the async
nature of my saga while waiting for the promises to return?