8000 Mark `FulfilledPromise` and `RejectedPromise` as deprecated (Promise v2) by clue · Pull Request #165 · reactphp/promise · GitHub
[go: up one dir, main page]

Skip to content

Mark FulfilledPromise and RejectedPromise as deprecated (Promise v2) #165

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

Merged
merged 1 commit into from
Mar 8, 2020

Conversation

clue
Copy link
Member
@clue clue commented Mar 8, 2020

Use resolve() and reject() instead.

This marks both classes as deprecated in the Promise v2 API in order to safely remove them from our public API for the v3 Promise API (see #164). See #155 for more details.

Use `resolve()` and `reject()` instead.
@clue clue added the easy pick label Mar 8, 2020
@clue clue added this to the v2.8.0 milestone Mar 8, 2020
@clue clue requested review from cboden, jsor and WyriHaximus and removed request for cboden March 8, 2020 12:11
@WyriHaximus WyriHaximus merged commit f0430ac into reactphp:2.x Mar 8, 2020
@clue clue deleted the deprecate-fulfilled-rejected branch March 8, 2020 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0