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.219.197.162
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; /** * @deprecated 2.8.0 External usage of RejectedPromise is deprecated, use `reject()` instead. */ class RejectedPromise implements ExtendedPromiseInterface, CancellablePromiseInterface { private $reason; public function __construct($reason = null) { if ($reason instanceof PromiseInterface) { throw new \InvalidArgumentException('You cannot create React\Promise\RejectedPromise with a promise. Use React\Promise\reject($promiseOrValue) instead.'); } $this->reason = $reason; } public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) { if (null === $onRejected) { return $this; } try { return resolve($onRejected($this->reason)); } catch (\Throwable $exception) { return new RejectedPromise($exception); } catch (\Exception $exception) { return new RejectedPromise($exception); } } public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) { if (null === $onRejected) { throw UnhandledRejectionException::resolve($this->reason); } $result = $onRejected($this->reason); if ($result instanceof self) { throw UnhandledRejectionException::resolve($result->reason); } if ($result instanceof ExtendedPromiseInterface) { $result->done(); } } public function otherwise(callable $onRejected) { if (!_checkTypehint($onRejected, $this->reason)) { return $this; } return $this->then(null, $onRejected); } public function always(callable $onFulfilledOrRejected) { return $this->then(null, function ($reason) use ($onFulfilledOrRejected) { return resolve($onFulfilledOrRejected())->then(function () use ($reason) { return new RejectedPromise($reason); }); }); } public function progress(callable $onProgress) { return $this; } public function cancel() { } }