The array of promises or promise-returning functions to execute. 要执行的promise数组或返回promise的函数数组
(optional) The maximum number of promises to execute in parallel. Defaults to infinity. 最大并发数,默认为无穷大
A Promise that resolves with an array containing the resolved values of each promise. 一个Promise,它解析为一个包含每个promise解析值的数组
Executes an array of promises in parallel with a given concurrency. The function returns a Promise that resolves with an array containing the resolved values of each promise. If any promise is rejected, the returned promise will be rejected.
以指定的并发数并行执行一组 promise。该函数返回一个 promise,该 promise 解析为一个数组,包含每个 promise 的解析值。 任意一个 promise 拒绝,返回的 promise 将被拒绝。