/dports/devel/R-cran-promises/promises/R/ |
H A D | then.R | 110 then <- function(promise, onFulfilled = NULL, onRejected = NULL) { argument 115 if (!is.null(onRejected)) 116 onRejected <- rlang::as_function(onRejected) 117 invisible(promise$then(onFulfilled = onFulfilled, onRejected = onRejected)) 128 catch <- function(promise, onRejected, tee = FALSE) { argument 131 if (!is.null(onRejected)) 132 onRejected <- rlang::as_function(onRejected) 135 return(promise$catch(onRejected)) 138 onRejected(reason)
|
H A D | promise.R | 14 onRejected = list(), field in Promise 84 private$onRejected <- list() 144 onRejected <- normalizeOnRejected(onRejected) 154 onRejected <- res$onRejected functionVar 179 private$onRejected <- c(private$onRejected, list( 198 catch = function(onRejected) { argument 199 invisible(self$then(onRejected = onRejected)) 244 if (!is.function(onRejected)) 247 args <- formals(onRejected) 251 onRejected [all …]
|
H A D | domains.R | 17 onRejected = finallyToRejected(onFinally) nameattr 41 onThen = function(onFulfilled, onRejected, onFinally) { argument 43 force(onRejected) 47 if (!is.null(onFinally) && (!is.null(onFulfilled) || !is.null(onRejected))) { 69 onRejected <- spliced$onRejected 73 shouldWrapRejected <- !is.null(onRejected) && !is.null(domain) && !shouldWrapFinally 77 onRejected = if (shouldWrapRejected) domain$wrapOnRejected(onRejected) else onRejected nameattr 212 wrapOnRejected = function(onRejected) { argument 214 base <- base$wrapOnRejected(onRejected)
|
/dports/www/bolt/bolt-2.2.24/vendor/react/promise/src/ |
H A D | Promise.php | 25 return $this->result()->then($onFulfilled, $onRejected, $onProgress); 29 return new static($this->resolver($onFulfilled, $onRejected, $onProgress)); 34 return new static($this->resolver($onFulfilled, $onRejected, $onProgress), function () { 46 return $this->result()->done($onFulfilled, $onRejected, $onProgress); 51 ->done($onFulfilled, $onRejected); 59 public function otherwise(callable $onRejected) argument 61 return $this->then(null, function ($reason) use ($onRejected) { 62 if (!_checkTypehint($onRejected, $reason)) { 66 return $onRejected($reason); 102 return function ($resolve, $reject, $notify) use ($onFulfilled, $onRejected, $onProgress) { [all …]
|
H A D | RejectedPromise.php | 18 …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);
|
/dports/net-mgmt/icingaweb2-module-reactbundle/icingaweb2-module-reactbundle-0.9.0/vendor/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument 23 if (null === $onRejected) { 28 return resolve($onRejected($this->reason)); 36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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);
|
/dports/www/elgg/elgg-3.3.23/vendor/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument 23 if (null === $onRejected) { 28 return resolve($onRejected($this->reason)); 36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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);
|
/dports/audio/ampache/ampache-php74-5.0.0/vendor/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument 23 if (null === $onRejected) { 28 return resolve($onRejected($this->reason)); 36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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);
|
/dports/finance/prestashop/prestashop/vendor/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument 23 if (null === $onRejected) { 28 return resolve($onRejected($this->reason)); 36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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);
|
/dports/www/phpmyfaq/phpmyfaq/src/libs/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument 23 if (null === $onRejected) { 28 return resolve($onRejected($this->reason)); 36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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);
|
/dports/www/webtrees20/webtrees-2.0.19/webtrees/vendor/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument 23 if (null === $onRejected) { 28 return resolve($onRejected($this->reason)); 36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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);
|
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument 23 if (null === $onRejected) { 28 return resolve($onRejected($this->reason)); 36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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);
|
/dports/www/owncloud/owncloud/lib/composer/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument 23 if (null === $onRejected) { 28 return resolve($onRejected($this->reason)); 36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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);
|
/dports/www/owncloud/owncloud/updater/vendor/react/promise/src/ |
H A D | Promise.php | 31 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 D | RejectedPromise.php | 18 …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);
|
/dports/audio/ampache/ampache-php74-5.0.0/vendor/sabre/event/lib/ |
H A D | Promise.php | 89 * @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);
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/includes/sabre/sabre/event/lib/ |
H A D | Promise.php | 89 * @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);
|