Executes an array of promises in batches using Promise.allSettled.
An array of promises to be executed
The size of each batch
Executes an array of promises in batches using Promise.allSettled.