batch icon indicating copy to clipboard operation
batch copied to clipboard

It would be nice to be able to set 'concurrency' when creating `batch` instance

Open MeoMix opened this issue 8 years ago • 2 comments

Currently I do:

      const batch = new Batch();
      batch.concurrency(20);

I would like to have the ability to do:

      const batch = new Batch({ concurrency: 20 });

MeoMix avatar Feb 09 '18 21:02 MeoMix

This is a good idea :+1: Would you be interested in making a pull request to.implement this?

dougwilson avatar Feb 11 '18 23:02 dougwilson

Yeah, sure. I can try to whip something together ASAP.

MeoMix avatar Feb 12 '18 00:02 MeoMix

wow, past me was an overly optimistic jerk for saying he'd put up a PR and not doing it.

thanks for finally getting around to this feature! great job :)

MeoMix avatar Sep 29 '22 20:09 MeoMix