Skip to content
This repository has been archived by the owner on Jan 19, 2018. It is now read-only.

Add throtteling to parallel function execution #9

Open
fbuchinger opened this issue Jan 10, 2011 · 1 comment
Open

Add throtteling to parallel function execution #9

fbuchinger opened this issue Jan 10, 2011 · 1 comment

Comments

@fbuchinger
Copy link

underscore.js has a quite useful _.throttle function that prevents too frequent function invocation.
http://documentcloud.github.com/underscore/#throttle

This could also be a useful parameter for jsdeferred's parallel function (only execute a maximum of n parallel functions concurrently - queue the execution of the rest meanwhile)

@cho45
Copy link
Owner

cho45 commented Jan 31, 2011

I agree that _.throttle is useful.

But I can't image an use case of the parameter in parallel function.

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

No branches or pull requests

2 participants