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: align with Promise.withResolvers() #15171

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

patak-dev
Copy link
Member

Description

Promise.withResolvers() reached stage 4 yesterday.

This PR implements a promiseWithResolvers<T>() util to align the codebase with the standard, while we await for node to support the proposal.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@patak-dev patak-dev added the p1-chore Doesn't change code behavior (priority) label Nov 28, 2023
@patak-dev patak-dev merged commit 642f9bc into main Nov 29, 2023
10 checks passed
@patak-dev patak-dev deleted the refactor/promise-with-resolvers branch November 29, 2023 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1-chore Doesn't change code behavior (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants