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

Improve backwards compatibility with Promise v1 #125

Merged
merged 1 commit into from
Feb 8, 2018

Conversation

clue
Copy link
Member

@clue clue commented Feb 8, 2018

This adds support for legacy Promise v1 (while keeping support for newer versions). This is an internal change only and does not affect our API. This helps bringing this component more in line with the react/http component (see also reactphp/http#101 and #78). This also effectively reverts #31, but this is a safe operation because throwing from an event handler is forbidden as of reactphp/stream#101 anyway.

@clue clue added this to the v0.5.8 milestone Feb 8, 2018
@clue
Copy link
Member Author

clue commented Feb 8, 2018

Rebased on master due to merge conflict with #124 :shipit:

@WyriHaximus WyriHaximus merged commit c661c55 into reactphp:master Feb 8, 2018
@clue clue deleted the promise-v1 branch February 8, 2018 19:17
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