Skip to content

Conversation

@komyg
Copy link
Contributor

@komyg komyg commented Oct 4, 2025

No description provided.

@komyg komyg force-pushed the feature/promise.all_settled branch from 6271720 to 16237ab Compare October 11, 2025 11:10
@komyg komyg requested a review from aapoalas October 14, 2025 12:38
@komyg komyg marked this pull request as ready for review October 14, 2025 12:38
@komyg komyg force-pushed the feature/promise.all_settled branch from a68dc67 to fae782c Compare October 14, 2025 12:41
Copy link
Member

@aapoalas aapoalas left a comment

Choose a reason for hiding this comment

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

Wow, this looks great! Only one real blocking nit to pick, and then a couple of suggestions on reducing some repetition in the resolving code.

Absolutely stellar stuff! <3

@komyg komyg force-pushed the feature/promise.all_settled branch from bbf3be7 to 295b9eb Compare October 27, 2025 13:30
@komyg komyg force-pushed the feature/promise.all_settled branch from 5c6585a to 72715b1 Compare October 28, 2025 11:49
@komyg komyg requested a review from aapoalas October 28, 2025 12:04
Copy link
Member

@aapoalas aapoalas left a comment

Choose a reason for hiding this comment

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

Looks really damn good! But let's "deduplicate" the methods a bit more still; the PromiseAll / PromiseAllSettled handling should be exactly the same in both cases with PromiseAllSettled just wrapping the value in an object before calling the shared handling code.

@komyg komyg requested a review from aapoalas October 31, 2025 12:55
aapoalas
aapoalas previously approved these changes Nov 1, 2025
Copy link
Member

@aapoalas aapoalas left a comment

Choose a reason for hiding this comment

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

LGTM, and great work! I have a feeling the next ones will be ridiculously easy with this work in place :)

@aapoalas
Copy link
Member

aapoalas commented Nov 1, 2025

Oh, @komyg , the test results require updating.

@aapoalas aapoalas merged commit 9c6babd into trynova:main Nov 1, 2025
8 checks passed
@komyg komyg deleted the feature/promise.all_settled branch November 1, 2025 19:37
@komyg
Copy link
Contributor Author

komyg commented Nov 1, 2025

Hey @aapoalas, tests are passing now.

I didn't merge the expectations updates before, because that always caused merge conflicts.

And yes, I intend to do promise.any next, and it should be pretty easy after what we built so far.

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

Successfully merging this pull request may close these issues.

2 participants