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

Feature request: zip analog with failed promises #33

Open
numen31337 opened this issue Apr 30, 2017 · 2 comments
Open

Feature request: zip analog with failed promises #33

numen31337 opened this issue Apr 30, 2017 · 2 comments

Comments

@numen31337
Copy link
Contributor

I think this will be helpful to have some function analog to the 'zip' function which will accept the list of promises, wait until all of them is finished and returns both failed and resolved in the result.

@r-plus
Copy link
Contributor

r-plus commented May 1, 2017

In that case I think you should wrap the resolved value and error to one object (e.g. Result).

@numen31337
Copy link
Contributor Author

Yes, that's clear, but in this case, it forces me to use some other way of error handling in addition to this library.

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

2 participants