Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper to throttle async #47

Closed
sethladd opened this issue Oct 21, 2013 · 2 comments
Closed

Helper to throttle async #47

sethladd opened this issue Oct 21, 2013 · 2 comments

Comments

@sethladd
Copy link
Contributor

"Yes, if you spawn all your expensive async tasks eagerly you're going to have a bad time."

Strawman:

forEachAsync(iterable, (i) => expensive(i), maxTasks: 10);

@sethladd
Copy link
Contributor Author

/cc @kevmoo

@justinfagnani
Copy link
Contributor

Added forEachAsync(). We still need something more powerful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants