-
Notifications
You must be signed in to change notification settings - Fork 124
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
Tasks with different result type in parallel #45
Comments
Task.whenAll([Task(1 as AnyObject), Task("two" as AnyObject)]) at least compiles for me |
@schartyom you should have a look at PromiseKit. They support |
I've created extension to make any task to be
Now you can run any task in parallel: |
It's a hack :) Usually it makes sense to get the exact results, not just notifying about finishing |
If there any workaround to run tasks with different result type in parallel?
Task.whenAll([Task(1), Task("two")])
- This won't compileThe text was updated successfully, but these errors were encountered: