Closed mledwards closed 5 years ago
So I have a Promise.all that's mapping an array to a limit, that's calling a function. In that function I have another Promise.all that I want limited, but it seems to never get into the second limit function call.
Any ideas?
Ah, I see my problem. I was limiting to 1 concurrent request. So a nested Promise.all needs at least 2 concurrent requests. Working a treat. Thanks!
So I have a Promise.all that's mapping an array to a limit, that's calling a function. In that function I have another Promise.all that I want limited, but it seems to never get into the second limit function call.
Any ideas?