Graze\Supervisor\SupervisorSupervisor::supervise PHP Method

supervise() public method

public supervise ( float $delay = 0.001 ) : Graze\Supervisor\SupervisorInterface
$delay float
return Graze\Supervisor\SupervisorInterface
    public function supervise($delay = 0.001)
    {
        $microdelay = $delay * 1000000;
        while ($this->ping()) {
            usleep($microdelay);
        }
        return $this;
    }