public function addPeriodicTimer(int $interval, callable $callback): void
    {
        $this->loop->addPeriodicTimer($interval, $callback);
    }
public function addPeriodicTimer(int $interval, callable $callback): void
    {
        $this->loop->addPeriodicTimer($interval, $callback);
    }
public function addPeriodicTimer ( int $ interval , callable $ callback ) : void { $ this -> loop -> addPeriodicTimer ( $ interval , $ callback ) ; }
Add a periodic timer

@param int      $interval Interval
@param callable $callback Callback
Add a periodic timer