Home
last modified time | relevance | path

Searched refs:subPromise (Results 1 – 4 of 4) sorted by relevance

/plugin/davcal/vendor/sabre/event/lib/
H A DPromise.php106 $subPromise = new self();
112 $this->invokeCallback($subPromise, $onFulfilled);
115 $this->invokeCallback($subPromise, $onRejected);
118 return $subPromise;
189 $subPromise->then(
216 * @param Promise $subPromise
226 $result->then([$subPromise, 'fulfill'], [$subPromise, 'reject']);
228 $subPromise->fulfill($result);
231 $subPromise->reject($e);
235 $subPromise->fulfill($this->value);
[all …]
/plugin/webdav/vendor/sabre/event/lib/
H A DPromise.php97 $subPromise = new self();
108 $this->invokeCallback($subPromise, $onFulfilled);
113 $this->invokeCallback($subPromise, $onRejected);
116 return $subPromise;
248 * @param Promise $subPromise
259 Loop\nextTick(function() use ($callBack, $subPromise) {
269 $result->then([$subPromise, 'fulfill'], [$subPromise, 'reject']);
273 $subPromise->fulfill($result);
278 $subPromise->reject($e);
282 $subPromise->fulfill($this->value);
[all …]
/plugin/davcal/vendor/sabre/event/tests/
H A DPromiseTest.php58 $subPromise = new Promise();
60 $promise->then(function($value) use ($subPromise) {
61 return $subPromise;
67 $subPromise->fulfill(2);
/plugin/webdav/vendor/sabre/event/lib/Promise/
H A Dfunctions.php39 foreach ($promises as $promiseIndex => $subPromise) {
41 $subPromise->then(