Home
last modified time | relevance | path

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

123

/plugin/authgooglesheets/vendor/guzzlehttp/promises/src/
DEach.php21 * @param callable $onFulfilled
28 callable $onFulfilled = null, argument
32 'fulfilled' => $onFulfilled,
47 * @param callable $onFulfilled
55 callable $onFulfilled = null, argument
59 'fulfilled' => $onFulfilled,
72 * @param callable $onFulfilled
79 callable $onFulfilled = null argument
84 $onFulfilled,
Dfunctions.php253 * @param callable $onFulfilled
262 callable $onFulfilled = null, argument
265 return Each::of($iterable, $onFulfilled, $onRejected);
278 * @param callable $onFulfilled
288 callable $onFulfilled = null, argument
291 return Each::ofLimit($iterable, $concurrency, $onFulfilled, $onRejected);
301 * @param callable $onFulfilled
310 callable $onFulfilled = null argument
312 return Each::ofLimitAll($iterable, $concurrency, $onFulfilled);
DFulfilledPromise.php27 callable $onFulfilled = null, argument
31 if (!$onFulfilled) {
38 $queue->add(static function () use ($p, $value, $onFulfilled) {
41 $p->resolve($onFulfilled($value));
DEachPromise.php22 private $onFulfilled; variable in GuzzleHttp\\Promise\\EachPromise
63 $this->onFulfilled = $config['fulfilled'];
126 $this->onFulfilled = $this->onRejected = null;
176 if ($this->onFulfilled) {
178 $this->onFulfilled,
DPromiseInterface.php24 * @param callable $onFulfilled Invoked when the promise fulfills.
30 callable $onFulfilled = null, argument
DPromise.php32 callable $onFulfilled = null, argument
37 $this->handlers[] = [$p, $onFulfilled, $onRejected];
46 return $onFulfilled ? $promise->then($onFulfilled) : $promise;
/plugin/matrixnotifierwas/vendor/guzzlehttp/promises/src/
DEach.php26 callable $onFulfilled = null, argument
30 'fulfilled' => $onFulfilled,
49 callable $onFulfilled = null, argument
53 'fulfilled' => $onFulfilled,
70 callable $onFulfilled = null argument
75 $onFulfilled,
DFulfilledPromise.php34 callable $onFulfilled = null, argument
38 if (!$onFulfilled) {
45 $queue->add(static function () use ($p, $value, $onFulfilled): void {
48 $p->resolve($onFulfilled($value));
DEachPromise.php26 private $onFulfilled; variable in GuzzleHttp\\Promise\\EachPromise
67 $this->onFulfilled = $config['fulfilled'];
119 $this->onFulfilled = $this->onRejected = null;
172 if ($this->onFulfilled) {
173 ($this->onFulfilled)(
DPromiseInterface.php26 * @param callable $onFulfilled Invoked when the promise fulfills.
30 callable $onFulfilled = null, argument
DPromise.php36 callable $onFulfilled = null, argument
41 $this->handlers[] = [$p, $onFulfilled, $onRejected];
52 return $onFulfilled ? $promise->then($onFulfilled) : $promise;
/plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/Handler/
DMockHandler.php40 private $onFulfilled; variable in GuzzleHttp\\Handler\\MockHandler
52 * @param callable|null $onFulfilled Callback to invoke when the return value is fulfilled.
55 …public static function createWithMiddleware(array $queue = null, callable $onFulfilled = null, cal… argument
57 return HandlerStack::create(new self($queue, $onFulfilled, $onRejected));
66 …* @param callable|null $onFulfilled Callback to invoke when the return value is fulfilled.
69 …public function __construct(array $queue = null, callable $onFulfilled = null, callable $onRejecte… argument
71 $this->onFulfilled = $onFulfilled;
117 if ($this->onFulfilled) {
118 ($this->onFulfilled)($value);
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/
DMockHandler.php20 private $onFulfilled; variable in GuzzleHttp\\Handler\\MockHandler
28 * @param callable $onFulfilled Callback to invoke when the return value is fulfilled.
35 callable $onFulfilled = null, argument
38 return HandlerStack::create(new self($queue, $onFulfilled, $onRejected));
47 * @param callable $onFulfilled Callback to invoke when the return value is fulfilled.
52 callable $onFulfilled = null, argument
55 $this->onFulfilled = $onFulfilled;
100 if ($this->onFulfilled) {
101 call_user_func($this->onFulfilled, $value);
/plugin/elasticsearch/vendor/react/promise/src/
DFulfilledPromise.php21 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
23 if (null === $onFulfilled) {
28 return resolve($onFulfilled($this->value));
36 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
38 if (null === $onFulfilled) {
42 $result = $onFulfilled($this->value);
DPromise.php28 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… 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 $onProgre… argument
61 return $this->result->done($onFulfilled, $onRejected, $onProgress);
64 …$this->handlers[] = static function (ExtendedPromiseInterface $promise) use ($onFulfilled, $onReje…
66 ->done($onFulfilled, $onRejected);
115 …private function resolver(callable $onFulfilled = null, callable $onRejected = null, callable $onP… argument
117 return function ($resolve, $reject, $notify) use ($onFulfilled, $onRejected, $onProgress) {
[all …]
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);
DPromiseInterface.php35 * @param callable|null $onFulfilled
40 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
DExtendedPromiseInterface.php17 * @param callable|null $onFulfilled
22 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
/plugin/asciidocjs/node_modules/promise/lib/
Dcore.js72 Promise.prototype.then = function(onFulfilled, onRejected) { argument
74 return safeThen(this, onFulfilled, onRejected);
77 handle(this, new Handler(onFulfilled, onRejected, res));
81 function safeThen(self, onFulfilled, onRejected) { argument
85 handle(self, new Handler(onFulfilled, onRejected, res));
114 var cb = self._65 === 1 ? deferred.onFulfilled : deferred.onRejected;
186 function Handler(onFulfilled, onRejected, promise){ argument
187 this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;
/plugin/asciidocjs/node_modules/promise/domains/
Dcore.js72 Promise.prototype.then = function(onFulfilled, onRejected) { argument
74 return safeThen(this, onFulfilled, onRejected);
77 handle(this, new Handler(onFulfilled, onRejected, res));
81 function safeThen(self, onFulfilled, onRejected) { argument
85 handle(self, new Handler(onFulfilled, onRejected, res));
114 var cb = self._65 === 1 ? deferred.onFulfilled : deferred.onRejected;
186 function Handler(onFulfilled, onRejected, promise){ argument
187 this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;
/plugin/asciidocjs/node_modules/promise/setimmediate/
Dcore.js72 Promise.prototype.then = function(onFulfilled, onRejected) { argument
74 return safeThen(this, onFulfilled, onRejected);
77 handle(this, new Handler(onFulfilled, onRejected, res));
81 function safeThen(self, onFulfilled, onRejected) { argument
85 handle(self, new Handler(onFulfilled, onRejected, res));
114 var cb = self._65 === 1 ? deferred.onFulfilled : deferred.onRejected;
186 function Handler(onFulfilled, onRejected, promise){ argument
187 this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;
/plugin/asciidocjs/node_modules/promise/src/
Dcore.js72 Promise.prototype.then = function(onFulfilled, onRejected) { argument
74 return safeThen(this, onFulfilled, onRejected);
77 handle(this, new Handler(onFulfilled, onRejected, res));
81 function safeThen(self, onFulfilled, onRejected) { argument
85 handle(self, new Handler(onFulfilled, onRejected, res));
114 var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;
186 function Handler(onFulfilled, onRejected, promise){ argument
187 this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;
/plugin/davcal/vendor/sabre/event/lib/
H A DPromise.php100 * @param callable $onFulfilled
104 function then(callable $onFulfilled = null, callable $onRejected = null) { argument
109 $this->subscribers[] = [$subPromise, $onFulfilled, $onRejected];
112 $this->invokeCallback($subPromise, $onFulfilled);
/plugin/webdav/vendor/sabre/event/lib/
DPromise.php88 * @param callable $onFulfilled
92 function then(callable $onFulfilled = null, callable $onRejected = null) { argument
103 $this->subscribers[] = [$subPromise, $onFulfilled, $onRejected];
108 $this->invokeCallback($subPromise, $onFulfilled);
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/Future/
DCompletedFutureValue.php61 callable $onFulfilled = null, argument
65 return $this->promise()->then($onFulfilled, $onRejected, $onProgress);

123