waitForOpen method

Future<void> waitForOpen()

Wait for the WebSocket to be connected

Implementation

Future<void> waitForOpen() async {
  await _proxyInterface.connectWs(this);
  await connected?.future;
}