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

Return results on resolve and reject in await deep.await() #333

Open
Konard opened this issue Apr 26, 2024 · 1 comment
Open

Return results on resolve and reject in await deep.await() #333

Konard opened this issue Apr 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@Konard
Copy link
Member

Konard commented Apr 26, 2024

That means that if PromiseResult is Resolved, it might be useful to collect all successful results from handlers/promises and return these as the result of deep.await function.

Also when any of PromiseResult is Rejected, it should behave as error was thrown, at the same time it should also return all successful results, and all rejected.

@Konard Konard added bug Something isn't working enhancement New feature or request labels Apr 26, 2024
@Konard Konard self-assigned this Apr 26, 2024
@Konard Konard moved this to Todo in Deep Architecture Apr 26, 2024
@Konard
Copy link
Member Author

Konard commented Apr 26, 2024

@ivansglazunov do you have any objections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant