1.0.1 • Published 8 years ago

yaag v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago
___  _ ____  ____  _____
\  \///  _ \/  _ \/  __/
 \  / | / \|| / \|| |  _
 / /  | |-||| |-||| |_//
/_/   \_/ \|\_/ \|\____\

Yaag is Yet Another Asynchronous Generator utility belt. It grows as more features are needed while developing my other projects. Pull requests are welcome. Currently it features:

  • Parallel execution with optional worker limit

API

yaag.parallel(generator, workerLimit?)

Resolves the generated promises in parallel, bound by the optional upper bound on the amount of workers.

yaag.parallel(iterable, workerLimit?)

Resolves the generated promises in parallel, bound by the optional upper bound on the amount of workers.