Home
last modified time | relevance | path

Searched refs:onRejected (Results 26 – 37 of 37) sorted by path

12

/plugin/elasticsearch/vendor/react/promise/src/
H A DLazyPromise.php18 public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) argument
20 return $this->promise()->then($onFulfilled, $onRejected, $onProgress);
23 public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) argument
25 return $this->promise()->done($onFulfilled, $onRejected, $onProgress);
28 public function otherwise(callable $onRejected) argument
30 return $this->promise()->otherwise($onRejected);
H A DPromise.php28 public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) 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 $onProgress = null) argument
61 return $this->result->done($onFulfilled, $onRejected, $onProgress);
64 $this->handlers[] = static function (ExtendedPromiseInterface $promise) use ($onFulfilled, $onRejected) {
66 ->done($onFulfilled, $onRejected);
74 public function otherwise(callable $onRejected) argument
76 return $this->then(null, static function ($reason) use ($onRejected) {
115 resolver(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) global() argument
[all...]
H A DPromiseInterface.php16 * * `$onRejected` will be invoked once the promise is rejected and passed the
23 * `$onFulfilled` or `$onRejected`, whichever is called, or will reject with
29 * 1. Only one of `$onFulfilled` or `$onRejected` will be called,
31 * 2. `$onFulfilled` and `$onRejected` will never be called more
36 * @param callable|null $onRejected
40 public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null); argument
H A DRejectedPromise.php21 public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) argument
23 if (null === $onRejected) {
28 return resolve($onRejected($this->reason));
36 public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) argument
38 if (null === $onRejected) {
42 $result = $onRejected($this->reason);
53 public function otherwise(callable $onRejected) argument
55 if (!_checkTypehint($onRejected, $this->reason)) {
59 return $this->then(null, $onRejected);
/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/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/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/xlsx2dw/packages/exceljs/
H A Dexceljs.js42968 then: function then(onFulfilled, onRejected) {
42972 reaction.fail = typeof onRejected == 'function' && onRejected;
42981 'catch': function (onRejected) {
42982 return this.then(undefined, onRejected);
43006 }).then(onFulfilled, onRejected);
55278 Promise.prototype["catch"] = function (onRejected) {
55279 return this.then(null, onRejected);
55299 function QueueItem(promise, onFulfilled, onRejected) {
55307 if (typeof onRejected === 'function') {
55308 this.onRejected = onRejected;
[all …]
/plugin/xlsx2dw/packages/jszip/
H A Djszip.js4354 Promise.prototype["catch"] = function (onRejected) {
4355 return this.then(null, onRejected);
4357 Promise.prototype.then = function (onFulfilled, onRejected) { argument
4359 typeof onRejected !== 'function' && this.state === REJECTED) {
4364 var resolver = this.state === FULFILLED ? onFulfilled : onRejected;
4367 this.queue.push(new QueueItem(promise, onFulfilled, onRejected));
4372 function QueueItem(promise, onFulfilled, onRejected) { argument
4378 if (typeof onRejected === 'function') {
4379 this.onRejected = onRejected;
4393 unwrap(this.promise, this.onRejected, value);

12