aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/php/vendor/react/socket/src/TimeoutConnector.php
diff options
context:
space:
mode:
authormarvin-borner@live.com2018-04-16 21:09:05 +0200
committermarvin-borner@live.com2018-04-16 21:09:05 +0200
commitcf14306c2b3f82a81f8d56669a71633b4d4b5fce (patch)
tree86700651aa180026e89a66064b0364b1e4346f3f /assets/php/vendor/react/socket/src/TimeoutConnector.php
parent619b01b3615458c4ed78bfaeabb6b1a47cc8ad8b (diff)
Main merge to user management system - files are now at /main/public/
Diffstat (limited to 'assets/php/vendor/react/socket/src/TimeoutConnector.php')
-rwxr-xr-xassets/php/vendor/react/socket/src/TimeoutConnector.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/assets/php/vendor/react/socket/src/TimeoutConnector.php b/assets/php/vendor/react/socket/src/TimeoutConnector.php
deleted file mode 100755
index d4eba2e..0000000
--- a/assets/php/vendor/react/socket/src/TimeoutConnector.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-namespace React\Socket;
-
-use React\EventLoop\LoopInterface;
-use React\Promise\Timer;
-
-final class TimeoutConnector implements ConnectorInterface
-{
- private $connector;
- private $timeout;
- private $loop;
-
- public function __construct(ConnectorInterface $connector, $timeout, LoopInterface $loop)
- {
- $this->connector = $connector;
- $this->timeout = $timeout;
- $this->loop = $loop;
- }
-
- public function connect($uri)
- {
- return Timer\timeout($this->connector->connect($uri), $this->timeout, $this->loop);
- }
-}