-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
zip() function as global function (outside Promise class) #44
Comments
Actually let (resultA,resultB) = await(Promise<Void>.zip(
promiseA,
promiseB
))
print(resultA)
print(resultB) isn't so bad - except for the |
@tcurdt wouldn't your suggestion require |
I suppose it would require that. At least I am not aware that exploding on the
That's said - other libraries just do the pragmatic thing in such a case and cover the e.g. |
If
@malcommac What do you think about it? |
What I was wishing for:
Based on the docs it would have to be
or
Any thoughts?
The text was updated successfully, but these errors were encountered: