Searched refs:FulfilledPromise (Results 1 – 10 of 10) sorted by relevance
4 use React\Promise\FulfilledPromise; alias 51 : new FulfilledPromise($this->result);
29 return new FulfilledPromise($value);
11 class FulfilledPromise implements PromiseInterface class
6 * @deprecated 2.8.0 External usage of FulfilledPromise is deprecated, use `resolve()` instead.8 class FulfilledPromise implements ExtendedPromiseInterface, CancellablePromiseInterface class 15 throw new \InvalidArgumentException('You cannot create React\Promise\FulfilledPromise with a promise. Use React\Promise\resolve($promiseOrValue) instead.');
39 return new FulfilledPromise($promiseOrValue);
53 * Mark `FulfilledPromise`, `RejectedPromise` and `LazyPromise` as deprecated for Promise v2 (and remove for Promise v3).58 $fulfilled = new React\Promise\FulfilledPromise($value);206 * BC break: `FulfilledPromise` and `RejectedPromise` now throw an exception
33 * [FulfilledPromise](#fulfilledpromise)176 * [FulfilledPromise](#fulfilledpromise) (deprecated)228 * [FulfilledPromise](#fulfilledpromise) (deprecated)360 * [FulfilledPromise](#fulfilledpromise) (deprecated)410 ### FulfilledPromise subsection 412 > Deprecated in v2.8.0: External usage of `FulfilledPromise` is deprecated, use `resolve()` instead.417 $promise = React\Promise\FulfilledPromise($value);
6 use GuzzleHttp\Promise\FulfilledPromise; alias139 return new FulfilledPromise($response);
6 use GuzzleHttp\Promise\FulfilledPromise; alias117 return new FulfilledPromise($easy->response);
14 - [FulfilledPromise](#fulfilledpromise)352 ## FulfilledPromise section in API358 use GuzzleHttp\Promise\FulfilledPromise;360 $promise = new FulfilledPromise('value');