The type of elements in the input array
The array of elements to iterate over.
The asynchronous callback function.
Optionaloptions: { concurrency?: number; signal?: AbortSignal } = {}Optional configuration
Optionalconcurrency?: numberMaximum number of concurrent operations
Optionalsignal?: AbortSignalAbortSignal to cancel processing.
Promise resolving to an object with collected errors.
Asynchronously iterates over an array, collecting errors without throwing. Unlike asyncForEach, this function never throws due to callback errors — all items are processed and errors are collected in the returned
errorsarray.Use this when you want all items processed regardless of individual failures.