public function dispatch($type, $data = null, $onlyMyWorker = false, $fromDispatch = false)
    {
        if (!$onlyMyWorker) {
            if ($fromDispatch) {//来自集群的请求
                get_instance()->sendToAllAsynWorks(SwooleMarco::DISPATCHER_NAME, [$type, $data], EventDispatcher::class . "::workerDispatchEventWith");
                return;
            }
            if (get_instance()->isCluster()) {
                ProcessManager::getInstance()->getRpcCall(ClusterProcess::class, true)->my_dispatchEvent($type, $data);
            }
            get_instance()->sendToAllAsynWorks(SwooleMarco::DISPATCHER_NAME, [$type, $data], EventDispatcher::class . "::workerDispatchEventWith");
        } else {//仅仅发布自己的进程
            self::workerDispatchEventWith([$type, $data]);
        }
    }