We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I execute my tasks using parallelLimit I get a RangeError: Maximum call stack size exceeded. Here's the code:
Maximum call stack size exceeded
Object.each(item[model.modelName], function(value, fieldKey) { var field = model.getModelEditorField(fieldKey); itemTasks[fieldKey] = function(next_task) { field.prepareExport(value, function(err, result) { next_task(err, result); }); }; }); async.parallelLimit(itemTasks, 3, function(err, result) { next(err, result); });
When I execute the tasks using the regular .parallel method it works without problems.
The text was updated successfully, but these errors were encountered:
is field.prepareExport asynchronous? Does it callback on the same process tick?
field.prepareExport
Sorry, something went wrong.
No branches or pull requests
When I execute my tasks using parallelLimit I get a RangeError:
Maximum call stack size exceeded
. Here's the code:When I execute the tasks using the regular .parallel method it works without problems.
The text was updated successfully, but these errors were encountered: