Description
Sometimes (e.g. for performance reasons) you would want to make a Task.all but with a certain number of simultaneous Tasks:
taskAllConcurrency(8, urls.map(crawle));
Note: it is easier (but less performant) to implement it splitting the tasks into chunks and processing a chunk by time that actually starting to process a Task when one is resolved.
Description
Sometimes (e.g. for performance reasons) you would want to make a
Task.allbut with a certain number of simultaneous Tasks:Note: it is easier (but less performant) to implement it splitting the tasks into chunks and processing a chunk by time that actually starting to process a Task when one is resolved.