PHPDaemon\Core\EventLoop::run PHP Method

run() public method

Run
public run ( )
    public function run()
    {
        $this->stopped = false;
        while (!$this->stopped) {
            $this->callbacks->executeAll($this);
            if (!$this->base->dispatch()) {
                break;
            }
        }
    }