Home
last modified time | relevance | path

Searched refs:Promise (Results 1 – 25 of 168) sorted by relevance

1234567

/plugin/webdav/vendor/sabre/event/lib/Promise/
H A Dfunctions.php3 namespace Sabre\Event\Promise;
5 use Sabre\Event\Promise; alias
29 * @param Promise[] $promises
30 * @return Promise
68 * @param Promise[] $promises
69 * @return Promise
109 * @return Promise
113 if ($value instanceof Promise) {
116 $promise = new Promise();
127 * @return Promise
[all …]
/plugin/davcal/vendor/sabre/event/tests/
H A DPromiseTest.php10 $promise = new Promise();
24 $promise = new Promise();
38 $promise = new Promise();
55 $promise = new Promise();
58 $subPromise = new Promise();
76 $promise = new Promise();
90 $promise = new Promise();
142 $promise = new Promise();
153 $promise = new Promise();
162 $promise = new Promise();
[all …]
/plugin/webdav/vendor/sabre/event/
H A DCHANGELOG.md8 * `Promise::all()` is moved to `Promise\all()`.
9 * Aside from the `Promise\all()` function, there's now also `Promise\race()`.
10 * `Promise\reject()` and `Promise\resolve()` have also been added.
11 * Now 100% compatible with the Ecmascript 6 Promise.
19 * Renamed `Promise::error` to `Promise::otherwise` to be consistent with
22 * #27: Support for Promise-based coroutines via the `Sabre\Event\coroutine`
51 * Added: Promise object!
/plugin/webdav/vendor/sabre/event/lib/
H A DPromise.php23 class Promise { class
90 * @return Promise
127 * @return Promise
248 * @param Promise $subPromise
252 private function invokeCallback(Promise $subPromise, callable $callBack = null) {
297 * @return Promise
310 * @param Promise[] $promises
312 * @return Promise
316 return Promise\all($promises);
H A Dcoroutine.php55 $promise = new Promise();
68 if ($yieldedValue instanceof Promise) {
106 if (!$generator->valid() && $promise->state === Promise::PENDING) {
/plugin/authgooglesheets/vendor/guzzlehttp/promises/
H A DREADME.md47 use GuzzleHttp\Promise\Promise;
76 use GuzzleHttp\Promise\Promise;
106 use GuzzleHttp\Promise\Promise;
132 use GuzzleHttp\Promise\Promise;
149 use GuzzleHttp\Promise\Promise;
166 use GuzzleHttp\Promise\Promise;
184 use GuzzleHttp\Promise\Promise;
289 ## Promise section in API
298 use GuzzleHttp\Promise\Promise;
399 $guzzlePromise = new GuzzleHttp\Promise\Promise();
[all …]
/plugin/davcal/vendor/sabre/event/lib/
H A DPromise.php17 class Promise { class
102 * @return Promise
129 * @return Promise
177 * @param Promise[] $promises
178 * @return Promise
216 * @param Promise $subPromise
220 protected function invokeCallback(Promise $subPromise, callable $callBack = null) {
/plugin/firenews/HTMLTemplates/editnews/
H A DeditnewsTemplate.js13 await new Promise(r => setTimeout(r, 4000));
15 await new Promise(r => setTimeout(r, 1000));
23 await new Promise(r => setTimeout(r, 4000));
25 await new Promise(r => setTimeout(r, 1000));
/plugin/authgooglesheets/vendor/google/auth/src/HttpHandler/
H A DGuzzle5HttpHandler.php22 use GuzzleHttp\Promise\Promise; alias
23 use GuzzleHttp\Promise\RejectedPromise;
67 * @return Promise
82 $promise = new Promise(
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Prophecy/
H A DMethodProphecy.php16 use Prophecy\Promise; alias
139 * @param callable|Promise\PromiseInterface $promise
148 $promise = new Promise\CallbackPromise($promise);
151 if (!$promise instanceof Promise\PromiseInterface) {
180 return $this->will(new Promise\ReturnPromise(func_get_args()));
198 return $this->will(new Promise\ReturnArgumentPromise($index));
212 return $this->will(new Promise\ThrowPromise($exception));
414 * @return null|Promise\PromiseInterface
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DPool.php4 use GuzzleHttp\Promise\EachPromise;
5 use GuzzleHttp\Promise\PromiseInterface;
6 use GuzzleHttp\Promise\PromisorInterface;
54 $iterable = \GuzzleHttp\Promise\iter_for($requests);
H A DClient.php6 use GuzzleHttp\Promise; alias
82 * @return Promise\PromiseInterface
104 * @return Promise\PromiseInterface
144 * @return Promise\PromiseInterface
330 * @return Promise\PromiseInterface
351 return Promise\promise_for($handler($request, $options));
353 return Promise\rejection_for($e);
H A DRetryMiddleware.php4 use GuzzleHttp\Promise\PromiseInterface;
5 use GuzzleHttp\Promise\RejectedPromise;
113 return \GuzzleHttp\Promise\rejection_for($reason);
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/Future/
H A DCompletedFutureValue.php4 use React\Promise\FulfilledPromise;
5 use React\Promise\RejectedPromise;
6 use React\Promise\PromiseInterface;
H A DFutureInterface.php4 use React\Promise\PromiseInterface;
5 use React\Promise\PromisorInterface;
/plugin/elasticsearch/vendor/react/promise/
H A DREADME.md1 Promise chapter
16 * [Promise](#promise-1)
32 * [Promise](#promise-2)
61 Promise is a library implementing
79 ### Promise subsection
81 While a deferred represents the computation itself, a **Promise** represents
94 $deferred = new React\Promise\Deferred();
110 See [Promise](#promise-2) for more information.
175 * [Promise](#promise-2)
227 * [Promise](#promis
364 ### Promise global() subsection
[all...]
H A DCHANGELOG.md7 on Promise v3. We encourage upgrading to the latest version when possible, as
8 Promise v3 will be the way forward for this project.
53 * Mark `FulfilledPromise`, `RejectedPromise` and `LazyPromise` as deprecated for Promise v2 (and remove for Promise v3).
58 $fulfilled = new React\Promise\FulfilledPromise($value);
59 $rejected = new React\Promise\RejectedPromise($reason);
62 $fulfilled = React\Promise\resolve($value);
63 $rejected = React\Promise\reject($reason);
134 return \React\Promise\all($promises)
137 if ($promise instanceof \React\Promise\CancellablePromiseInterfac
[all...]
/plugin/authgooglesheets/vendor/guzzlehttp/promises/src/
H A DCoroutine.php3 namespace GuzzleHttp\Promise;
41 * @return Promise
58 * @var Promise
65 $this->result = new Promise(function () {
H A DPromise.php3 namespace GuzzleHttp\Promise;
10 class Promise implements PromiseInterface class
36 $p = new Promise(null, [$this, 'cancel']);
156 } elseif ($value instanceof Promise && Is::pending($value)) {
271 } while ($result instanceof Promise);
/plugin/firenews/HTMLTemplates/author/
H A Dauthor.js41 await new Promise(r => setTimeout(r, 4000));
43 await new Promise(r => setTimeout(r, 1000));
54 await new Promise(r => setTimeout(r, 4000));
56 await new Promise(r => setTimeout(r, 1000));
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/
H A DMockHandler.php6 use GuzzleHttp\Promise\PromiseInterface;
7 use GuzzleHttp\Promise\RejectedPromise;
94 ? \GuzzleHttp\Promise\rejection_for($response)
95 : \GuzzleHttp\Promise\promise_for($response);
123 return \GuzzleHttp\Promise\rejection_for($reason);
H A DCurlMultiHandler.php4 use GuzzleHttp\Promise as P;
5 use GuzzleHttp\Promise\Promise; alias
86 $promise = new Promise(
/plugin/pwaoffline/
H A Dsw.js45 return Promise.all(data.map(function (pageData) {
116 return new Promise(function (fulfill, reject) {
131 return Promise.reject('no-match');
146 return Promise.reject('no-match');
/plugin/diagramsnet/lib/
H A Dservice-worker.js1Promise.resolve();return r[e]||(i=new Promise((async i=>{if("document"in self){const r=document.cr…
/plugin/elasticsearch/vendor/react/promise/src/
H A Dfunctions.php3 namespace React\Promise;
34 return new Promise(function ($resolve, $reject, $notify) use ($promiseOrValue) {
100 return new Promise(function ($resolve, $reject, $notify) use ($promisesOrValues, $cancellationQueue) {
126 * The returned promise will also reject with a `React\Promise\Exception\LengthException`
151 * The returned promise will also reject with a `React\Promise\Exception\LengthException`
163 return new Promise(function ($resolve, $reject, $notify) use ($promisesOrValues, $howMany, $cancellationQueue) {
240 return new Promise(function ($resolve, $reject, $notify) use ($promisesOrValues, $mapFunc, $cancellationQueue) {
289 return new Promise(function ($resolve, $reject, $notify) use ($promisesOrValues, $reduceFunc, $initialValue, $cancellationQueue) {

1234567