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

refactor: replace Promise.all with Promise.allSettled #1171

Open
Meierschlumpf opened this issue Sep 24, 2024 · 0 comments
Open

refactor: replace Promise.all with Promise.allSettled #1171

Meierschlumpf opened this issue Sep 24, 2024 · 0 comments
Assignees

Comments

@Meierschlumpf
Copy link
Member

Most of the times we don't want to cancel the request and just return an error and rather return some data but show the error. This can be achieved by switching to allSettled and filter those with status fullfilled. Errors have status rejected and should be shown in UI accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant