Hi, if you pass this function an array of promises, would it execute them in batches? What I mean is, if a `promises` array had 100 entries, would `batchPromises(4, promises)` wait for the first 4 to complete, before executing the next 4? Thanks.
Hi, if you pass this function an array of promises, would it execute them in batches?
What I mean is, if a
promisesarray had 100 entries, wouldbatchPromises(4, promises)wait for the first 4 to complete, before executing the next 4?Thanks.