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

Only await something thenable #7355

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Dec 8, 2024

What this PR does

This avoids pausing the execution
until the next microtask.

Test me

I believe this is tested by CI?

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

@na9da
Copy link
Collaborator

na9da commented Dec 9, 2024

@pjonsson. Thanks for the improvements - other than the THREDDS one, the other changes look correct to me.

@pjonsson pjonsson force-pushed the remove-non-promise-await branch from 540e124 to de1d44b Compare December 9, 2024 09:07
@pjonsson pjonsson requested a review from na9da February 20, 2025 20:41
This avoids pausing the execution
until the next microtask.
@pjonsson pjonsson force-pushed the remove-non-promise-await branch from de1d44b to 773c893 Compare March 9, 2025 12:02
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