- 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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user