Lines Matching refs:an
34 A *promise* represents the eventual result of an asynchronous operation. The
42 Callbacks are registered with the `then` method by providing an optional
43 `$onFulfilled` followed by an optional `$onRejected` function.
145 If an exception is thrown in an `$onRejected` callback, subsequent
162 `GuzzleHttp\Promise\RejectedPromise` in either an `$onFulfilled` or
179 If an exception is not thrown in a `$onRejected` callback and the callback
204 wait function does not deliver a value, then an exception is thrown. The wait
217 If an exception is encountered while invoking the wait function of a promise,
237 Calling `wait` on a promise that has been rejected will throw an exception. If
238 the rejection reason is an instance of `\Exception` the reason is thrown.
255 promise if it was fulfilled or throw an exception if it was rejected). This is
265 // This will not throw an exception. It simply ensures the promise has
281 method of a promise. When creating a promise you can provide an optional
291 When creating a promise object, you can provide an optional `$waitFn` and
328 fulfilled promise or if an exception is thrown if the promise is rejected.
417 any forwarded promises are resolved. When using promises asynchronously in an
537 If you discover a security vulnerability within this package, please send an email to security@tide…