lib/Loop/Loop.php
public function run()
    {
        $this->running = true;

        do {
            $hasEvents = $this->tick(true);
        } while ($this->running && $hasEvents);
        $this->running = false;
    }
public function run()
    {
        $this->running = true;

        do {
            $hasEvents = $this->tick(true);
        } while ($this->running && $hasEvents);
        $this->running = false;
    }
public function run ( ) { $ this -> running = true ; do { $ hasEvents = $ this -> tick ( true ) ; } while ( $ this -> running && $ hasEvents ) ; $ this -> running = false ; }
Runs the loop.

This function will run continuously, until there's no more events to
handle.
Runs the loop .