- new confirmation dialog if users try to lazy update structures from Clipboard where current system != system marked for update (structure and signatures update now have the same logic)

- improved WebSocket initialisation
This commit is contained in:
Mark Friedrich
2019-03-30 08:57:38 +01:00
parent 66e843a479
commit c21e33d231
14 changed files with 176 additions and 45 deletions

View File

@@ -14,15 +14,18 @@ use React\Promise;
interface SocketInterface {
/**
* @return EventLoop\LoopInterface
*/
public function getLoop(): EventLoop\LoopInterface;
/**
* @param string $action
* @param null $data
* @return Promise\PromiseInterface
*/
public function write(string $action, $data = null) : Promise\PromiseInterface;
/**
* @param string $class
* @param string $uri
* @param array $options
* @return SocketInterface
*/
public static function factory(string $class, string $uri, array $options = []) : SocketInterface;
}