Skip to content

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

Merged
WyriHaximus merged 1 commit intoreactphp:2.xfrom
clue-labs:deprecate-fulfilled-rejected
Mar 8, 2020
Merged

Mark FulfilledPromise and RejectedPromise as deprecated (Promise v2)#165
WyriHaximus merged 1 commit intoreactphp:2.xfrom
clue-labs:deprecate-fulfilled-rejected

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 WyriHaximus, cboden and jsor 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