src/Kernel.php
public function dispatchWorkerStart(int $workerId)
    {
        $this->settings["workerId"] = $workerId;

        $loadProcessor = new LoadProcessor();
        $this->container = $loadProcessor->load($this->settings);
    }
public function dispatchWorkerStart(int $workerId)
    {
        $this->settings["workerId"] = $workerId;

        $loadProcessor = new LoadProcessor();
        $this->container = $loadProcessor->load($this->settings);
    }
在 onWorkerStart 回调事件中的处理函数
@param int $workerId
@return mixed|void