Lines Matching refs:with

27 - Works with any object that has a `then` function.
35 primary way of interacting with a promise is through its `then` method, which
42 Callbacks are registered with the `then` method by providing an optional
62 *Resolving* a promise means that you either fulfill a promise with a *value* or
63 reject a promise with a *reason*. Resolving a promises triggers callbacks
64 registered with the promises's `then` method. These callbacks are triggered
71 with any value other than a `GuzzleHttp\Promise\RejectedPromise` will trigger
72 all of the onFulfilled callbacks (resolving a promise with a rejected promise
102 has been fulfilled. The next promise in the chain will be invoked with the
128 When a promise is rejected, the `$onRejected` callbacks are invoked with the
146 `$onRejected` callbacks are invoked with the thrown exception as the reason.
218 the promise is rejected with the exception and the exception is thrown.
248 …ught exception 'GuzzleHttp\Promise\RejectionException' with message 'The promise was rejected with
272 promise A with a promise B and unwrap promise A, the value returned by the
292 `$cancelFn`. `$waitFn` is a function that is invoked with no arguments and is
293 expected to resolve the promise. `$cancelFn` is a function with no arguments
345 Fulfills the promise with the given `$value`.
349 Rejects the promise with the given `$reason`.
388 This library works with foreign promises that have a `then` method. This means
389 you can use Guzzle promises with [React promises](https://github.com/reactphp/promise)
398 // Create a Guzzle promise that is fulfilled with a React promise.
401 // Do something something with the value...
408 a foreign promise. You will need to wrap a third-party promise with a Guzzle
409 promise in order to utilize wait and cancel functions with foreign promises.
430 For example, you could use Guzzle promises with React using a periodic timer:
470 When a promise is fulfilled or rejected with a non-promise value, the promise
474 When a promise is resolved with another promise, the original promise transfers
508 A static API was first introduced in 1.4.0, in order to mitigate problems with functions conflictin…
547 The maintainers of Guzzle and thousands of other packages are working with Tidelift to deliver comm…