AsyncUtils

Methods

(inner) batchPromiseExecution(functionsArray, batchSize) → {Promise}

execute async functions in batches

Source:
Parameters:
Name Type Description
functionsArray Array.<function()>

Array of functions that return a promise

batchSize Number

Integer, number of functions to be passed in Promise.all

Returns:
Type:
Promise