- rename
maxConcurrentproperty tolimit - rename
numConcurrentproperty tocount - support task promises by default (eg:
tasks.push(promise)) limitproperty defaults toundefinedif not provided (instead ofInfinity)- use
classkeyword internally
maxConcurrent property to limitnumConcurrent property to counttasks.push(promise))limit property defaults to undefined if not provided (instead of Infinity)class keyword internally