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

exchange PromiseInterface for ExtendedPromiseInterface #179

Closed
basz opened this issue Dec 28, 2017 · 7 comments
Closed

exchange PromiseInterface for ExtendedPromiseInterface #179

basz opened this issue Dec 28, 2017 · 7 comments
Labels

Comments

@basz
Copy link
Member

basz commented Dec 28, 2017

Could we exchange \React\Promise\PromiseInterface for \React\Promise\ExtendedPromiseInterface which simply extends PromiseInterface but has the done method? see https://reactphp.org/promise/#extendedpromiseinterface

until #147 anyway

@prolic
Copy link
Member

prolic commented Dec 28, 2017

that's a BC break, but we can do this in next major release.

@basz
Copy link
Member Author

basz commented Dec 28, 2017

should we have a dev branch for the next major version?

@basz
Copy link
Member Author

basz commented Dec 28, 2017

next release will solve this: https://github.com/reactphp/promise/blob/master/CHANGELOG.md

keeping open so we don't forget

@prolic
Copy link
Member

prolic commented Dec 28, 2017 via email

@basz
Copy link
Member Author

basz commented Dec 28, 2017

next release will solve this ...

clarification: the next release of reactphp/promise.

In the new version ExtendedPromiseInterface's methods are merged into PromiseInterface. Therefore the issue I raised will become void at some point in time.

@fritz-gerneth
Copy link
Contributor

Just stumpled across this issue for the same reason as @basz .

Any way curious if @prolic 's work on v8 event store will affect this implementation here too? I know amp can adapt react promises. Still would be better to have one promise implementation throughout the library?

@prolic
Copy link
Member

prolic commented Jun 15, 2018 via email

@prolic prolic closed this as completed Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants