Home
last modified time | relevance | path

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

12345678910>>...34

/dports/devel/R-cran-promises/promises/R/
H A Dthen.R110 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 Dpromise.R14 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 Ddomains.R17 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 DPromise.php25 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 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);
/dports/net-mgmt/icingaweb2-module-reactbundle/icingaweb2-module-reactbundle-0.9.0/vendor/react/promise/src/
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 DRejectedPromise.php21 …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 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 DRejectedPromise.php21 …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 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 DRejectedPromise.php21 …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 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 DRejectedPromise.php21 …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 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 DRejectedPromise.php21 …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 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 DRejectedPromise.php21 …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 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 DRejectedPromise.php21 …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 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 DRejectedPromise.php21 …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 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 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);
/dports/audio/ampache/ampache-php74-5.0.0/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);
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/includes/sabre/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);

12345678910>>...34