Methods
-
<static> each(srcArray, consumer)
Invokes in parallel an async consumer function on each item in the given source Array.
-
Invokes in parallel an async consumer function on each item in the given source Array. This will return a promise without any resolved value.
Parameters:
Name Type Description srcArray
Array Specifies the source array to consumed.
consumer
function Specifies the async function that will be called with (value, index, array) as arguments.
Returns:
Returns a promise to be resolved without any value to be resolved.
- Type
- Promise