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: use promise.all instead of sequential awaited calls #8316

Merged
merged 4 commits into from
Oct 2, 2024

Conversation

thomasheartman
Copy link
Contributor

This PR follows up on a comment made in #8314 and groups sequential awaited calls into a single Promise.all instead.

Copy link

vercel bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs 🛑 Canceled (Inspect) Oct 2, 2024 8:20am
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 2, 2024 8:20am

Copy link
Contributor

github-actions bot commented Oct 1, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

id: role.id,
name: role.name,
type: role.type as PersonalDashboardProjectDetailsSchema['roles'][number]['type'],
const formatEvents = (recentEvents) =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the recentEvents any typed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably implicitly so, yeah. I can see if I can add some types if you want

}));

const filterRoles = (allRoles) =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also seems to be any typed

@thomasheartman thomasheartman enabled auto-merge (squash) October 2, 2024 07:46
@thomasheartman thomasheartman merged commit 4c4b4aa into main Oct 2, 2024
5 of 7 checks passed
@thomasheartman thomasheartman deleted the refactor/promise-all-in-dash-proj branch October 2, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants