Home
last modified time | relevance | path

Searched refs:promise (Results 26 – 50 of 143) sorted by last modified time

123456

/plugin/elasticsearch/vendor/react/promise/
H A DREADME.md7 [![CI status](https://github.com/reactphp/promise/actions/workflows/ci.yml/badge.svg?branch=2.x)](https://github.com/reactphp/promise/actions)
8 [![installs on Packagist](https://img.shields.io/packagist/dt/react/promise?color=blue&label=installs%20on%20Packagist)](https://packagist.org/packages/react/promise)
16 * [Promise](#promise-1)
19 * [Deferred::promise()](#deferredpromise)
32 * [Promise](#promise-2)
48 * [How promise forwarding works](#how-promise-forwarding-works)
64 It also provides several other useful promise
[all...]
/plugin/elasticsearch/vendor/react/promise/src/
H A DLazyPromise.php11 private $promise; variable in React\\Promise\\LazyPromise
20 return $this->promise()->then($onFulfilled, $onRejected, $onProgress);
25 return $this->promise()->done($onFulfilled, $onRejected, $onProgress);
30 return $this->promise()->otherwise($onRejected);
35 return $this->promise()->always($onFulfilledOrRejected);
40 return $this->promise()->progress($onProgress);
45 return $this->promise()->cancel();
52 public function promise() function in React\\Promise\\LazyPromise
54 if (null === $this->promise) {
56 $this->promise
[all...]
H A DPromise.php38 // This promise has a canceller, so we create a new child promise which
40 // followers are also cancelled. We keep a reference to this promise
64 $this->handlers[] = static function (ExtendedPromiseInterface $promise) use ($onFulfilled, $onRejected) {
65 $promise
132 $this->handlers[] = static function (ExtendedPromiseInterface $promise) use ($onFulfilled, $onRejected, $resolve, $reject, $progressHandler) {
133 $promise
151 private function settle(ExtendedPromiseInterface $promise) argument
153 $promise = $this->unwrap($promise);
172 unwrap($promise) global() argument
183 extract($promise) global() argument
[all...]
H A DPromisorInterface.php8 * Returns the promise of the deferred.
12 public function promise(); function
/plugin/elasticsearch/vendor/ezimuel/ringphp/
H A DCHANGELOG.md76 are properly forwarded down the promise chain.
/plugin/ckgedit/ckeditor/adapters/
H A Djquery.js6 …nce"),f=b.data("_ckeditorInstanceLock"),h=this,l=new a.Deferred;k.push(l.promise());if(c&&!f)g&&g.…
9 …ments.callee,100)},0)},null,null,9999)}});var f=new a.Deferred;this.promise=f.promise();a.when.app…
10 …(f.promise());return!0}return g.call(b,d)});if(k.length){var b=new a.Deferred;a.when.apply(this,k)…
/plugin/davcal/fullcalendar-3.10.5/
H A Dfullcalendar.js2330 var promise = deferred.promise();
2340 return promise;
2344 var promise = deferred.promise();
2346 return promise;
2350 var promise = deferred.promise();
2351 attachImmediatelyRejectingThen(promise);
2352 return promise;
2357 promise.then = function (onResolve) {
2361 return promise;
2364 function attachImmediatelyRejectingThen(promise) {
[all …]
/plugin/davcal/vendor/sabre/xml/
H A DCHANGELOG.md22 * No functional changes since 0.4.3. Marking it as 1.0.0 as a promise for
/plugin/davcal/vendor/sabre/event/tests/
H A DPromiseTest.php10 $promise = new Promise();
11 $promise->fulfill(1);
24 $promise = new Promise();
25 $promise->reject(1);
39 $promise->fulfill(1);
56 $promise->fulfill(1);
82 $promise->fulfill(4);
96 $promise->reject(4);
143 $promise->fulfill(1);
154 $promise->reject(1);
[all …]
/plugin/authgooglesheets/vendor/google/auth/src/HttpHandler/
H A DGuzzle5HttpHandler.php82 $promise = new Promise(
94 $futureResponse->then([$promise, 'resolve'], [$promise, 'reject']);
96 return $promise->then(
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/
H A DREADME.md32 $promise = $client->sendAsync($request)->then(function ($response) {
36 $promise->wait();
H A DUPGRADING.md24 `guzzlehttp/promises` library. We use a custom promise library for three
27 chaining and promise resolution will eventually blow the stack. Guzzle
31 2. Guzzle needs to have the ability to synchronously block on a promise to
103 the way in and the promise of the response on the way out. This is a much
H A DCHANGELOG.md267 * Utilizing `GuzzleHttp\Promise` instead of React's promise library to avoid
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DRedirectMiddleware.php107 $promise = $this($nextRequest, $options);
112 $promise,
118 return $promise;
126 private function withTracking(PromiseInterface $promise, $uri, $statusCode) argument
128 return $promise->then(
H A DPool.php78 public function promise() function in GuzzleHttp\\Pool
80 return $this->each->promise();
109 $pool->promise()->wait();
/plugin/authgooglesheets/vendor/guzzlehttp/promises/src/
H A DUtils.php48 $promise = new Promise([$queue, 'run']);
51 if (Is::pending($promise)) {
52 $promise->resolve($task());
55 $promise->reject($e);
57 $promise->reject($e);
61 return $promise;
83 'value' => $promise->wait()
134 $results[$key] = $promise->wait();
156 $promise = Each::of(
170 $promise = $promise->then(function ($results) use ($recursive, &$promises) {
[all …]
H A DEach.php34 ]))->promise();
62 ]))->promise();
H A DEachPromise.php72 public function promise() function in GuzzleHttp\\Promise\\EachPromise
114 while ($promise = current($this->pending)) {
116 $promise->wait();
167 $promise = Create::promiseFor($this->iterable->current());
174 $this->pending[$idx] = $promise->then(
H A DIs.php12 public static function pending(PromiseInterface $promise) argument
14 return $promise->getState() === PromiseInterface::PENDING;
22 public static function settled(PromiseInterface $promise) argument
24 return $promise->getState() !== PromiseInterface::PENDING;
32 public static function fulfilled(PromiseInterface $promise) argument
34 return $promise->getState() === PromiseInterface::FULFILLED;
42 public static function rejected(PromiseInterface $promise) argument
44 return $promise->getState() === PromiseInterface::REJECTED;
H A DPromisorInterface.php15 public function promise(); function
H A Dfunctions.php111 * @param PromiseInterface $promise Promise or value.
117 function inspect(PromiseInterface $promise) argument
119 return Utils::inspect($promise);
322 function is_fulfilled(PromiseInterface $promise) argument
324 return Is::fulfilled($promise);
334 function is_rejected(PromiseInterface $promise) argument
336 return Is::rejected($promise);
346 function is_settled(PromiseInterface $promise) argument
348 return Is::settled($promise);
/plugin/authgooglesheets/
H A Dcomposer.lock372 "promise"
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/
H A DCurlMultiHandler.php86 $promise = new Promise(
93 $this->addRequest(['easy' => $easy, 'deferred' => $promise]);
95 return $promise;
/plugin/authgooglesheets/vendor/guzzlehttp/promises/
H A DCHANGELOG.md37 - Fix promise handling for Iterators of non-unique keys
46 - `wait()` foreign promise compatibility
57 - Fixed coroutine promise memory leak.
80 - Update EachPromise to immediately resolve when the underlying promise iterator
81 is empty. Previously, such a promise would throw an exception when its `wait`
96 - Updating EachPromise to call next on the underlying promise iterator as late
H A DREADME.md50 $promise->then(
79 $promise
111 $promise
187 $promise
209 $promise = new Promise(function () use (&$promise) {
221 $promise = new Promise(function () use (&$promise) {
245 $promise->wait();
272 promise A with a promise B and unwrap promise A, the value returned by the
283 of the promise.
470 When a promise is fulfilled or rejected with a non-promise value, the promise
[all …]

123456