WorkerSocket createSocket()

Source

WorkerSocket createSocket() {
  var sock = new WorkerSocket.worker(port);
  if (_master != null) {
    sock._master = _master;
    _master._targetWorker = sock;
  }
  return sock;
}