src/MQK/Process/MasterProcess.php
public function spawnWorker()
    {
        if ($this->workerClassOrFactory instanceof WorkerFactory) {
            $worker = $this->workerClassOrFactory->create();
        } else
            $worker = new $this->workerClassOrFactory();
        return $worker;
    }
public function spawnWorker()
    {
        if ($this->workerClassOrFactory instanceof WorkerFactory) {
            $worker = $this->workerClassOrFactory->create();
        } else
            $worker = new $this->workerClassOrFactory();
        return $worker;
    }
启动一个新进程

@return AbstractWorker