Home
last modified time | relevance | path

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

/plugin/elasticsearch/vendor/react/promise/src/
H A DRejectedPromise.php18 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
20 if (null === $onRejected) {
25 return resolve($onRejected($this->reason));
33 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
35 if (null === $onRejected) {
39 $result = $onRejected($this->reason);
50 public function otherwise(callable $onRejected) argument
52 if (!_checkTypehint($onRejected, $this->reason)) {
56 return $this->then(null, $onRejected);
H A DPromise.php31 return $this->result->then($onFulfilled, $onRejected, $onProgress);
35 return new static($this->resolver($onFulfilled, $onRejected, $onProgress));
47 $this->resolver($onFulfilled, $onRejected, $onProgress),
61 return $this->result->done($onFulfilled, $onRejected, $onProgress);
66 ->done($onFulfilled, $onRejected);
74 public function otherwise(callable $onRejected) argument
76 return $this->then(null, static function ($reason) use ($onRejected) {
77 if (!_checkTypehint($onRejected, $reason)) {
81 return $onRejected($reason);
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);
28 public function otherwise(callable $onRejected) argument
30 return $this->promise()->otherwise($onRejected);
H A DExtendedPromiseInterface.php18 * @param callable|null $onRejected
22 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
34 * @param callable $onRejected
37 public function otherwise(callable $onRejected); argument
H A DFulfilledPromise.php18 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
33 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
46 public function otherwise(callable $onRejected) argument
H A DPromiseInterface.php36 * @param callable|null $onRejected
40 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
/plugin/webdav/vendor/sabre/event/lib/
H A DPromise.php89 * @param callable $onRejected
92 function then(callable $onFulfilled = null, callable $onRejected = null) { argument
103 $this->subscribers[] = [$subPromise, $onFulfilled, $onRejected];
113 $this->invokeCallback($subPromise, $onRejected);
126 * @param callable $onRejected
129 function otherwise(callable $onRejected) { argument
131 return $this->then(null, $onRejected);
295 * @param callable $onRejected
299 function error(callable $onRejected) { argument
301 return $this->otherwise($onRejected);
/plugin/davcal/vendor/sabre/event/lib/
H A DPromise.php101 * @param callable $onRejected
104 function then(callable $onFulfilled = null, callable $onRejected = null) { argument
109 $this->subscribers[] = [$subPromise, $onFulfilled, $onRejected];
115 $this->invokeCallback($subPromise, $onRejected);
128 * @param callable $onRejected
131 function error(callable $onRejected) { argument
133 return $this->then(null, $onRejected);
/plugin/elasticsearch/vendor/react/promise/tests/fixtures/
H A DSimpleRejectedTestPromise.php7 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
10 if ($onRejected) {
11 $onRejected('foo');
H A DSimpleTestCancellableThenable.php9 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
H A DSimpleFulfilledTestThenable.php7 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
H A DSimpleFulfilledTestPromise.php7 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
/plugin/elasticsearch/vendor/react/promise/tests/
H A DLazyPromiseTest.php97 $onRejected = $this->createCallableMock();
98 $onRejected
105 $p->then($this->expectCallableNever(), $onRejected);
/plugin/elasticsearch/vendor/guzzlehttp/ringphp/src/Future/
H A DCompletedFutureValue.php52 callable $onRejected = null, argument
55 return $this->promise()->then($onFulfilled, $onRejected, $onProgress);
H A DBaseFutureTrait.php76 callable $onRejected = null, argument
79 return $this->wrappedPromise->then($onFulfilled, $onRejected, $onProgress);
/plugin/elasticsearch/vendor/guzzlehttp/ringphp/src/
H A DCore.php329 * @param callable $onRejected Invoked when the future rejected
337 callable $onRejected = null, argument
341 $future->then($onFulfilled, $onRejected, $onProgress),
/plugin/revealjs/lib/js/
H A Dpromise.js2onRejected;if(null!==t){var o;try{o=t(e._value)}catch(f){return void i(n.promise,f)}r(n.promise,o)…
/plugin/elasticsearch/vendor/react/promise/
H A DREADME.md142 All consumers are notified by having `$onRejected` (which they registered via
194 * `$onRejected` will be invoked once the promise is rejected and passed the
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
255 $promise->otherwise(callable $onRejected);
261 $promise->then(null, $onRejected);
264 Additionally, you can type hint the `$reason` argument of `$onRejected` to catch
[all …]
/plugin/pdfjs/pdfjs/build/
H A Dpdf.js3322 then: function then(onFulfilled, onRejected) {
3325 reaction.fail = typeof onRejected == 'function' && onRejected;
3334 'catch': function _catch(onRejected) {
3335 return this.then(undefined, onRejected);
10125 value: function then(onFulfilled, onRejected) {
11997 value: function then(onFulfilled, onRejected) {
H A Dpdf.js.map1onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCa…
H A Dpdf.worker.js4491 then: function then(onFulfilled, onRejected) {
4494 reaction.fail = typeof onRejected == 'function' && onRejected;
4503 'catch': function _catch(onRejected) {
4504 return this.then(undefined, onRejected);
H A Dpdf.worker.js.map1onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCa…
/plugin/datatables/assets/jszip/dist/
H A Djszip.min.js13onRejected=r,this.callRejected=this.otherCallRejected)}function f(e,r,i){n(function(){var t;try{t=…
/plugin/combo/resources/library/rrdiagram/0.9.4.1/
H A Drrdiagram.js.map1onRejected","capability","all","remaining","$index","alreadyCalled","race","rApply","fApply","this…
/plugin/edittable/lib/
H A Dhandsontable.full.js21990 then: function then(onFulfilled, onRejected) {
21993 reaction.fail = typeof onRejected == 'function' && onRejected;
22001 'catch': function (onRejected) {
22002 return this.then(undefined, onRejected);