-
Notifications
You must be signed in to change notification settings - Fork 3
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
each - setImmediate is not defined #4
Comments
I have written/tested this module only with Node.js. |
I going to close the issue, but it would be great if you would consider modifying this cool NPM to be used on the browser. Thanks. |
I'm not against the idea but I really dont know how the best way to achieve it. |
Could you maybe mention some where that it is not intended to be used in the browser environment? |
Please check v2.5.0. I haven't checked myself inside a browser environment yet (besides what I did before in the react-based environment) but I switched the usage of setImmediate with setTimeout when not available. |
Chrome: Version 45.0.2454.99 m
each: 0.5.2
When I use it with the following (although not limited too) I get the error "setImmediate is not defined"...
each([1,2,3,4,5], function(element, index, next){ /* Do Something / }, function(err){ / Do Something */})
The text was updated successfully, but these errors were encountered: