This commit is contained in:
2021-08-06 15:18:00 +08:00
parent 776a251123
commit fc253b52bf
4 changed files with 37 additions and 15 deletions
+3
View File
@@ -7,6 +7,7 @@ use Annotation\Inject;
use Exception;
use ReflectionException;
use Server\Constant;
use Server\Events\OnAfterWorkerStart;
use Server\Events\OnWorkerError;
use Server\Events\OnWorkerExit;
use Server\Events\OnWorkerStart;
@@ -56,6 +57,8 @@ class OnServerWorker extends \Server\Abstracts\Server
$this->workerInitExecutor($server, $annotation, $workerId);
$this->interpretDirectory($annotation);
$this->eventDispatch->dispatch(new OnAfterWorkerStart());
}