-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
async.series max call stack size exceed #173
Comments
Usually the array of async functions is supposed to be that, async functions. If some condition in your function makes it so it can call the callback synchronously, use |
|
Ah, that did it. Thanks for your help! |
joliss
added a commit
to broccolijs/broccoli
that referenced
this issue
Nov 14, 2013
Sometimes the preprocessors and compilers call their callback synchronously. In those cases, async.eachSeries will recurse synchronously, and the call stack will grow very large. Also see caolan/async#75 (comment) and caolan/async#173 (comment). Incidentally, this cuts initial build time in half.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This simple tests produces an error on node v0.8.0 on Windows 7 x64.
https://gist.github.com/3457903
What is the proper way to do this?
The text was updated successfully, but these errors were encountered: