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
Use LazyPromise? #163
Comments
for ref reactphp/promise#95 |
''' |
Added a comment in the linked reactphp issue. LazyPromise does not really help and the code above won't work I guess. See the reactphp example of LazyPromise The factory (callback passed to LazyPromise) needs to create its own So you cannot resolve the |
Can this be closed then? |
issue is still discussed. Own |
There is no possibility to set a custom promise to the deferred given as argument (the interface does not allow it). We could achieve what we want if prooph producer interface defines a promise as a return value. I guess the deferred could be removed in that case. It is BC break though |
But this is a BC an can only be done with a new major release.
The text was updated successfully, but these errors were encountered: