dispatcher->dispatch(new OnWorkerExit($server, $workerId)); Coroutine::create(function () { CoordinatorManager::until(Constants::WORKER_EXIT)->resume(); }); } }