Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.73.229
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
vendor /
react /
promise /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxr-xr-x
2020-05-12 15:16
CancellablePromiseInterface.php
438
B
-rw-r--r--
2020-05-12 15:16
CancellationQueue.php
1.11
KB
-rw-r--r--
2020-05-12 15:16
Deferred.php
1.43
KB
-rw-r--r--
2020-05-12 15:16
ExtendedPromiseInterface.php
3.37
KB
-rw-r--r--
2020-05-12 15:16
FulfilledPromise.php
1.84
KB
-rw-r--r--
2020-05-12 15:16
LazyPromise.php
1.7
KB
-rw-r--r--
2020-05-12 15:16
Promise.php
8.64
KB
-rw-r--r--
2020-05-12 15:16
PromiseInterface.php
1.74
KB
-rw-r--r--
2020-05-12 15:16
PromisorInterface.php
195
B
-rw-r--r--
2020-05-12 15:16
RejectedPromise.php
2.16
KB
-rw-r--r--
2020-05-12 15:16
UnhandledRejectionException.php
613
B
-rw-r--r--
2020-05-12 15:16
functions.php
11.89
KB
-rw-r--r--
2020-05-12 15:16
functions_include.php
97
B
-rw-r--r--
2020-05-12 15:16
Save
Rename
<?php namespace React\Promise; interface ExtendedPromiseInterface extends PromiseInterface { /** * Consumes the promise's ultimate value if the promise fulfills, or handles the * ultimate error. * * It will cause a fatal error if either `$onFulfilled` or * `$onRejected` throw or return a rejected promise. * * Since the purpose of `done()` is consumption rather than transformation, * `done()` always returns `null`. * * @param callable|null $onFulfilled * @param callable|null $onRejected * @param callable|null $onProgress This argument is deprecated and should not be used anymore. * @return void */ public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null); /** * Registers a rejection handler for promise. It is a shortcut for: * * ```php * $promise->then(null, $onRejected); * ``` * * Additionally, you can type hint the `$reason` argument of `$onRejected` to catch * only specific errors. * * @param callable $onRejected * @return ExtendedPromiseInterface */ public function otherwise(callable $onRejected); /** * Allows you to execute "cleanup" type tasks in a promise chain. * * It arranges for `$onFulfilledOrRejected` to be called, with no arguments, * when the promise is either fulfilled or rejected. * * * If `$promise` fulfills, and `$onFulfilledOrRejected` returns successfully, * `$newPromise` will fulfill with the same value as `$promise`. * * If `$promise` fulfills, and `$onFulfilledOrRejected` throws or returns a * rejected promise, `$newPromise` will reject with the thrown exception or * rejected promise's reason. * * If `$promise` rejects, and `$onFulfilledOrRejected` returns successfully, * `$newPromise` will reject with the same reason as `$promise`. * * If `$promise` rejects, and `$onFulfilledOrRejected` throws or returns a * rejected promise, `$newPromise` will reject with the thrown exception or * rejected promise's reason. * * `always()` behaves similarly to the synchronous finally statement. When combined * with `otherwise()`, `always()` allows you to write code that is similar to the familiar * synchronous catch/finally pair. * * Consider the following synchronous code: * * ```php * try { * return doSomething(); * } catch(\Exception $e) { * return handleError($e); * } finally { * cleanup(); * } * ``` * * Similar asynchronous code (with `doSomething()` that returns a promise) can be * written: * * ```php * return doSomething() * ->otherwise('handleError') * ->always('cleanup'); * ``` * * @param callable $onFulfilledOrRejected * @return ExtendedPromiseInterface */ public function always(callable $onFulfilledOrRejected); /** * Registers a handler for progress updates from promise. It is a shortcut for: * * ```php * $promise->then(null, null, $onProgress); * ``` * * @param callable $onProgress * @return ExtendedPromiseInterface * @deprecated 2.6.0 Progress support is deprecated and should not be used anymore. */ public function progress(callable $onProgress); }