Skip to content

refactor: align with Promise.withResolvers()#15171

Merged
patak-cat merged 1 commit intomainfrom
refactor/promise-with-resolvers
Nov 29, 2023
Merged

refactor: align with Promise.withResolvers()#15171
patak-cat merged 1 commit intomainfrom
refactor/promise-with-resolvers

Conversation

@patak-cat
Copy link
Copy Markdown
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-cat patak-cat added the p1-chore Doesn't change code behavior (priority) label Nov 28, 2023
@patak-cat patak-cat merged commit 642f9bc into main Nov 29, 2023
@patak-cat patak-cat 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