Skip to content

In addition to waiting for all promises to settle, handle post-hoc additions/removals#3961

Merged
DmitrySharabin merged 1 commit intosimplifyfrom
all-settled-ad-hoc
Jun 17, 2025
Merged

In addition to waiting for all promises to settle, handle post-hoc additions/removals#3961
DmitrySharabin merged 1 commit intosimplifyfrom
all-settled-ad-hoc

Conversation

@DmitrySharabin
Copy link
Member

@github-actions
Copy link

github-actions bot commented Jun 16, 2025

No JS Changes

Generated by 🚫 dangerJS against c7b5e87

if (!this.config.manual) {
this.waitFor.push(documentReady());

this.ready = allSettled(this.waitFor);
Copy link
Member Author

Choose a reason for hiding this comment

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

We don't need this workaround anymore: we set the initial value of ready on line 35.

@DmitrySharabin DmitrySharabin requested a review from LeaVerou June 16, 2025 15:31
@DmitrySharabin DmitrySharabin changed the title In addition to waiting for all promises to settle, handle post-hoc additions In addition to waiting for all promises to settle, handle post-hoc additions/removals Jun 17, 2025
@DmitrySharabin DmitrySharabin merged commit 7c7c598 into simplify Jun 17, 2025
2 checks passed
@DmitrySharabin DmitrySharabin deleted the all-settled-ad-hoc branch June 17, 2025 13:55
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