Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
React /
Promise /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
CancellablePromiseInterface.php
438
B
-rw-r--r--
2022-02-11 10:27
CancellationQueue.php
1.11
KB
-rw-r--r--
2022-02-11 10:27
Deferred.php
1.43
KB
-rw-r--r--
2022-02-11 10:27
ExtendedPromiseInterface.php
3.37
KB
-rw-r--r--
2022-02-11 10:27
FulfilledPromise.php
1.84
KB
-rw-r--r--
2022-02-11 10:27
LazyPromise.php
1.7
KB
-rw-r--r--
2022-02-11 10:27
Promise.php
8.64
KB
-rw-r--r--
2022-02-11 10:27
PromiseInterface.php
1.74
KB
-rw-r--r--
2022-02-11 10:27
PromisorInterface.php
195
B
-rw-r--r--
2022-02-11 10:27
RejectedPromise.php
2.16
KB
-rw-r--r--
2022-02-11 10:27
UnhandledRejectionException.php
613
B
-rw-r--r--
2022-02-11 10:27
autoload.php
1.49
KB
-rw-r--r--
2022-05-27 13:30
functions.php
13.84
KB
-rw-r--r--
2022-02-11 10:27
functions_include.php
97
B
-rw-r--r--
2022-02-11 10:27
Save
Rename
<?php namespace React\Promise; class CancellationQueue { private $started = false; private $queue = []; public function __invoke() { if ($this->started) { return; } $this->started = true; $this->drain(); } public function enqueue($cancellable) { if (!\is_object($cancellable) || !\method_exists($cancellable, 'then') || !\method_exists($cancellable, 'cancel')) { return; } $length = \array_push($this->queue, $cancellable); if ($this->started && 1 === $length) { $this->drain(); } } private function drain() { for ($i = key($this->queue); isset($this->queue[$i]); $i++) { $cancellable = $this->queue[$i]; $exception = null; try { $cancellable->cancel(); } catch (\Throwable $exception) { } catch (\Exception $exception) { } unset($this->queue[$i]); if ($exception) { throw $exception; } } $this->queue = []; } }