The argument type of the executor. That argument must be provided by the generator.
The result type of the executor, and propagates that result to this function's Promise.
the number of the maximum concurrent workers.
a provider function that returns an executor for a worker according to the T typed value that comes from the generator.
Optional reason: unknowna generator function that returns an argument for executorProvider. If this generator returns done value, this function finishes the workers' executions and returns the result.
Generated using TypeDoc
runConcurrentSettled runs executors that come from
executorProviderby at mostmaxConcurrencyworkers. The workers continue to run the executors until the generator that is supplied bygeneratorFunctionnotifiesdone, i.e. once the generator has becomedone.Returns
a promise of the
Promise.allSettled()that returnsR[]result.