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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

whenAny task is comleted with success even if all tasks are completed with error #50

Open
Antondomashnev opened this issue Jan 12, 2017 · 2 comments

Comments

@Antondomashnev
Copy link

Antondomashnev commented Jan 12, 2017

Hi there, thanks for your great job migrating Bolts to swift, this is impressive 馃憤

I've recently required using Task.whenAny and faced the problem that the task is succeeded even if all tasks from whenAny array are completed with errors.
@nlutsenko is it expected behavior here?

P.S I've checked the Bolts in Objc and the same method returns error in such case. I'll submit a PR if this is a case?

@Antondomashnev
Copy link
Author

@nlutsenko hi, could you please take a look on it? 馃槃

@Antondomashnev
Copy link
Author

Hi @richardjrossiii any chance you can check it?

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