Maximum number of workers running at once. Defaults to 5. A value that
is not a finite number falls back to the default; fractions are floored
and anything below one runs a single worker.
OptionalonProgress
onProgress?:(completed:number,total:number)=>void
Called after each item settles with the running completed count. An
exception thrown by the callback is discarded so it cannot stop the run
or leave later items without a result.
Maximum number of workers running at once. Defaults to 5. A value that is not a finite number falls back to the default; fractions are floored and anything below one runs a single worker.