yaag

1.0.1 • Public • Published
___  _ ____  ____  _____
\  \///  _ \/  _ \/  __/
 \  / | / \|| / \|| |  _
 / /  | |-||| |-||| |_//
/_/   \_/ \|\_/ \|\____\

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.

Package Sidebar

Install

npm i yaag

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • samvv