public function start() {
        if (!$this->isStarted) {
            $this->generateIpcServer();
            $this->isStarted = true;
            for ($i=0;$i<$this->poolSizeMin;$i++) {
                $this->spawnWorker();
            }
            $this->registerTaskTimeoutWatcher();
        }

        return $this;
    }
public function start() {
        if (!$this->isStarted) {
            $this->generateIpcServer();
            $this->isStarted = true;
            for ($i=0;$i<$this->poolSizeMin;$i++) {
                $this->spawnWorker();
            }
            $this->registerTaskTimeoutWatcher();
        }

        return $this;
    }
public function start ( ) { if ( ! $ this -> isStarted ) { $ this -> generateIpcServer ( ) ; $ this -> isStarted = true ; for ( $ i = 0 ; $ i < $ this -> poolSizeMin ; $ i ++ ) { $ this -> spawnWorker ( ) ; } $ this -> registerTaskTimeoutWatcher ( ) ; } return $ this ; }
Spawn worker threads

No tasks will be dispatched until Dispatcher::start is invoked.

@return \Amp\Dispatcher Returns the current object instance
Spawn worker threads