Home
last modified time | relevance | path

Searched refs:onFulfilled (Results 1 – 25 of 35) sorted by relevance

12

/plugin/authgooglesheets/vendor/guzzlehttp/promises/src/
H A DEach.php21 * @param callable $onFulfilled
28 callable $onFulfilled = null, argument
32 'fulfilled' => $onFulfilled,
47 * @param callable $onFulfilled
55 callable $onFulfilled = null, argument
59 'fulfilled' => $onFulfilled,
72 * @param callable $onFulfilled
79 callable $onFulfilled = null argument
84 $onFulfilled,
H A Dfunctions.php253 * @param callable $onFulfilled
262 callable $onFulfilled = null, argument
265 return Each::of($iterable, $onFulfilled, $onRejected);
278 * @param callable $onFulfilled
288 callable $onFulfilled = null, argument
291 return Each::ofLimit($iterable, $concurrency, $onFulfilled, $onRejected);
301 * @param callable $onFulfilled
310 callable $onFulfilled = null argument
312 return Each::ofLimitAll($iterable, $concurrency, $onFulfilled);
H A DFulfilledPromise.php27 callable $onFulfilled = null, argument
31 if (!$onFulfilled) {
38 $queue->add(static function () use ($p, $value, $onFulfilled) {
41 $p->resolve($onFulfilled($value));
H A DEachPromise.php22 private $onFulfilled; variable in GuzzleHttp\\Promise\\EachPromise
63 $this->onFulfilled = $config['fulfilled'];
126 $this->onFulfilled = $this->onRejected = null;
176 if ($this->onFulfilled) {
178 $this->onFulfilled,
H A DPromiseInterface.php24 * @param callable $onFulfilled Invoked when the promise fulfills.
30 callable $onFulfilled = null, argument
H A DPromise.php32 callable $onFulfilled = null, argument
37 $this->handlers[] = [$p, $onFulfilled, $onRejected];
46 return $onFulfilled ? $promise->then($onFulfilled) : $promise;
H A DCoroutine.php90 callable $onFulfilled = null, argument
93 return $this->result->then($onFulfilled, $onRejected);
H A DRejectedPromise.php27 callable $onFulfilled = null, argument
/plugin/elasticsearch/vendor/react/promise/src/
H A DFulfilledPromise.php21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
23 if (null === $onFulfilled) {
28 return resolve($onFulfilled($this->value));
36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
38 if (null === $onFulfilled) {
42 $result = $onFulfilled($this->value);
H A DPromise.php28 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
31 return $this->result->then($onFulfilled, $onRejected, $onProgress);
35 return new static($this->resolver($onFulfilled, $onRejected, $onProgress));
47 $this->resolver($onFulfilled, $onRejected, $onProgress),
58 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
61 return $this->result->done($onFulfilled, $onRejected, $onProgress);
64 …$this->handlers[] = static function (ExtendedPromiseInterface $promise) use ($onFulfilled, $onReje…
66 ->done($onFulfilled, $onRejected);
115 …private function resolver(callable $onFulfilled = null, callable $onRejected = null, callable $onP… argument
117 return function ($resolve, $reject, $notify) use ($onFulfilled, $onRejected, $onProgress) {
[all …]
H A DLazyPromise.php18 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
20 return $this->promise()->then($onFulfilled, $onRejected, $onProgress);
23 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
25 return $this->promise()->done($onFulfilled, $onRejected, $onProgress);
H A DPromiseInterface.php35 * @param callable|null $onFulfilled
40 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
H A DExtendedPromiseInterface.php17 * @param callable|null $onFulfilled
22 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
H A DRejectedPromise.php21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/
H A DMockHandler.php20 private $onFulfilled; variable in GuzzleHttp\\Handler\\MockHandler
28 * @param callable $onFulfilled Callback to invoke when the return value is fulfilled.
35 callable $onFulfilled = null, argument
38 return HandlerStack::create(new self($queue, $onFulfilled, $onRejected));
47 * @param callable $onFulfilled Callback to invoke when the return value is fulfilled.
52 callable $onFulfilled = null, argument
55 $this->onFulfilled = $onFulfilled;
100 if ($this->onFulfilled) {
101 call_user_func($this->onFulfilled, $value);
/plugin/davcal/vendor/sabre/event/lib/
H A DPromise.php100 * @param callable $onFulfilled
104 function then(callable $onFulfilled = null, callable $onRejected = null) { argument
109 $this->subscribers[] = [$subPromise, $onFulfilled, $onRejected];
112 $this->invokeCallback($subPromise, $onFulfilled);
/plugin/webdav/vendor/sabre/event/lib/
H A DPromise.php88 * @param callable $onFulfilled
92 function then(callable $onFulfilled = null, callable $onRejected = null) { argument
103 $this->subscribers[] = [$subPromise, $onFulfilled, $onRejected];
108 $this->invokeCallback($subPromise, $onFulfilled);
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/Future/
H A DCompletedFutureValue.php61 callable $onFulfilled = null, argument
65 return $this->promise()->then($onFulfilled, $onRejected, $onProgress);
H A DBaseFutureTrait.php84 callable $onFulfilled = null, argument
88 return $this->wrappedPromise->then($onFulfilled, $onRejected, $onProgress);
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DRetryMiddleware.php72 $this->onFulfilled($request, $options),
82 private function onFulfilled(RequestInterface $req, array $options) function in GuzzleHttp\\RetryMiddleware
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/
H A DCore.php328 * @param callable $onFulfilled Invoked when the future fulfilled
336 callable $onFulfilled = null, argument
341 $future->then($onFulfilled, $onRejected, $onProgress),
/plugin/revealjs/lib/js/
H A Dpromise.js2onFulfilled:n.onRejected;if(null!==t){var o;try{o=t(e._value)}catch(f){return void i(n.promise,f)}…
/plugin/authgooglesheets/vendor/guzzlehttp/promises/
H A DREADME.md43 `$onFulfilled` followed by an optional `$onRejected` function.
51 // $onFulfilled
72 all of the onFulfilled callbacks (resolving a promise with a rejected promise
90 // Resolving the promise triggers the $onFulfilled callbacks and outputs
162 `GuzzleHttp\Promise\RejectedPromise` in either an `$onFulfilled` or
180 does not return a rejected promise, downstream `$onFulfilled` callbacks are
315 - `then(callable $onFulfilled, callable $onRejected) : PromiseInterface`
/plugin/elasticsearch/vendor/react/promise/
H A DREADME.md128 having `$onFulfilled` (which they registered via `$promise->then()`) called with
183 $transformedPromise = $promise->then(callable $onFulfilled = null, callable $onRejected = null, cal…
192 * `$onFulfilled` will be invoked once the promise is fulfilled and passed
201 `$onFulfilled` or `$onRejected`, whichever is called, or will reject with
207 1. Only one of `$onFulfilled` or `$onRejected` will be called,
209 2. `$onFulfilled` and `$onRejected` will never be called more
235 $promise->done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = nu…
241 It will cause a fatal error if either `$onFulfilled` or `$onRejected` throw or
791 `$onFulfilled` or `$onRejected` callbacks you provide to done, it will be
/plugin/diagramsnet/lib/js/croppie/
H A Dcroppie.min.js1onFulfilled:n.onRejected;if(null!==e){var t;try{t=e(i._value)}catch(e){return void n.reject(e)}n.r…

12