code: public function spawnWorker()
      {
          if ($this->workerClassOrFactory instanceof WorkerFactory) {
              $worker = $this->workerClassOrFactory->create();
          } else
              $worker = new $this->workerClassOrFactory();
          return $worker;
      }
docs: 启动一个新进程
  
  @return AbstractWorker