yaag
v1.0.1
Published
Yet another asynchonous generator libray
Downloads
1
Maintainers
Readme
___ _ ____ ____ _____
\ \/// _ \/ _ \/ __/
\ / | / \|| / \|| | _
/ / | |-||| |-||| |_//
/_/ \_/ \|\_/ \|\____\
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.