Hopefully I can explain this well enough for people to understand what I mean.
I would like to have a Pool of Puppeteer instances, which has a limit of 20 instances, and each instance should be allowed to run 5 concurrent tasks at once.
If all 20x5 is full, it should wait for one to release, and then use that.
With 1 instance its easy as I can just use a semaphore, but not sure how to get that extra level of resource management. Anyone that can point me in the right direction or have idea's? Not sure if there is a primitive for something like this