Skip to content

Repository files navigation

pocket-queue


Probably the smallest async queue with concurrency support

Usage

Just wrap the function which you want to queue up with a closure and pass to .run, that's it

const queue = new AsyncQueue(10);

await queue.run(async () => {
    // process data
});

About

Tiny async queue with concurrency

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages