|
|
const all = [...batch1, ...batch2, ...batch3];
|
|
const all = [...batch1, ...batch2, ...batch3];
|
|
|
|
|
+ const result = await batchProcessPromiseAll(all, 5, async(num, i, arr) => {
|
|
|
const expected = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120];
|
|
const expected = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120];
|