public function run()
    {
        try {
            $this->loop->run();
        } catch (WorkerException $e) {
            $this->logger->error('Worker Error: ' . $e->getMessage());
        }
    }
public function run()
    {
        try {
            $this->loop->run();
        } catch (WorkerException $e) {
            $this->logger->error('Worker Error: ' . $e->getMessage());
        }
    }
public function run ( ) { try { $ this -> loop -> run ( ) ; } catch ( WorkerException $ e ) { $ this -> logger -> error ( 'Worker Error: ' . $ e -> getMessage ( ) ) ; } }
Run main loop and wait for jobs.
Run main loop and wait for jobs .