asyncForEach

Function

Iterates over an array and executes an async callback for each item

  • asyncForEach(array: [], callback: function(item: , index: number, array: []) : void) : Promise<void>

Parameters

Parameter Type Default Notes
array Required []
callback Required function(item: , index: number, array: []) : void

Returns

Promise<void>

Function defined in common/src/utils/asyncForEach.ts:6