Skip to content

Commit

Permalink
Make promises usage more explicit
Browse files Browse the repository at this point in the history
Make promises usage more explicit
  • Loading branch information
avigoldman authored Mar 12, 2018
2 parents 061b4a2 + 141ac2a commit db88ca0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ $promise->then(
);

echo "I will print out before the promise is fulfilled";

// You can combine multiple promises using \GuzzleHttp\Promise\all() and other functions from the library.
$promise->wait();
```

## Handling Exceptions
Expand Down

0 comments on commit db88ca0

Please sign in to comment.