Skip to content

Conversation

@achingbrain
Copy link
Member

To prevent the hasBytes promise rejecting before it is awaited, defer creation until it's about to be used.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

To prevent the hasBytes promise rejecting before it is awaited,
defer creation until it's about to be used.
@achingbrain achingbrain requested a review from a team as a code owner September 24, 2025 10:24
@achingbrain achingbrain merged commit 55b7e5f into main Sep 24, 2025
21 of 34 checks passed
@achingbrain achingbrain deleted the fix/create-promise-before-await branch September 24, 2025 10:43
@achingbrain achingbrain mentioned this pull request Sep 24, 2025
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