Skip to content

Update async calls with new package and interface #11

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

Merged
merged 3 commits into from
Dec 14, 2015
Merged

Conversation

joelwurtz
Copy link
Member

try {
$this->call($this->onRejected, $this->exception);
} catch (Exception $exception) {
$this->exception = $exception;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will replace exception related to request with exception related to callback code. Why?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the callback should handle the exception or rethrow it. But @joelwurtz is the promise master in da house.

mekras added a commit that referenced this pull request Dec 14, 2015
Update async calls with new package and interface
@mekras mekras merged commit 15f22b3 into master Dec 14, 2015
@mekras mekras deleted the feature/promise branch December 14, 2015 13:00
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

Successfully merging this pull request may close these issues.

3 participants