waitRequest()) { try { $rsp = new \Nyholm\Psr7\Response(); $rsp->getBody()->write("hello world"); $worker->respond($rsp); } catch (\Throwable $e) { $worker->getWorker()->error((string)$e); } }