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

Done instead of Then #41

Closed
sm2017 opened this issue Oct 15, 2016 · 1 comment
Closed

Done instead of Then #41

sm2017 opened this issue Oct 15, 2016 · 1 comment

Comments

@sm2017
Copy link

sm2017 commented Oct 15, 2016

Please see https://github.com/reactphp/promise#done-vs-then
How can I have "done" in guzzle/promises?

I need this feature in Event Loop Integration

Calling done() transfers all responsibility for errors to your code. If an error (either a thrown exception or returned rejection) escapes the $onFulfilled or $onRejected callbacks you provide to done, it will be rethrown in an uncatchable way causing a fatal error.

@sagikazarmark
Copy link
Member

Moving to #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants