Skip to content

Add a Task.all with a concurrency limit #15

@dggluz

Description

@dggluz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions