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

Move Async's error checking lamba into proper lamba #6

Open
daniel-dressler opened this issue Mar 19, 2015 · 0 comments
Open

Move Async's error checking lamba into proper lamba #6

daniel-dressler opened this issue Mar 19, 2015 · 0 comments

Comments

@daniel-dressler
Copy link
Contributor

We tested the suggestion, seems to work fine moving this outside.

(Exception error) =>
{
// Stop iteration if there was an error
if (error != null) {
cb (error);
return;
}

// Continue to next item
currentItemI++;
iterate ();

};

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

1 participant