Skip to content

async.queue.unsaturated #868

@ecasilla

Description

@ecasilla

I want to create a pull request for the ability to get notified when my queue has become unsaturated by using the same api as saturated i was thinking some along these lines

if (q.tasks.length <= (q.concurrency - q.buffer) ) {
q.unsaturated();
}
and allow the user once the queue has been created to add there own buffer of have some default number or percentage.. I want to know if this is something the core team is interested in and there not currently working on

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions