The type of elements in the array / 数组元素的类型
The type of the transformed result / 转换结果的类型
A promise that resolves to an array of transformed values / 解析为转换后值数组的 promise
Transform functions are executed concurrently via promiseParallel under the hood.
The results maintain the original array order regardless of the order in which transforms resolve.
The concurrency parameter controls the maximum number of simultaneously pending operations.
转换函数通过底层的 promiseParallel并发执行。
无论转换函数的解析顺序如何,结果都保持原始数组的顺序。
concurrency参数控制同时进行中的最大操作数。
filterAsync — for async filtering / 异步过滤
Transforms each element in an array using an async callback function and returns a promise that resolves to an array of transformed values.
使用异步回调函数转换数组中的每个元素,并返回一个解析为转换后值数组的 promise。