EvPeriodic::set

(PECL ev >= 0.2.0)

EvPeriodic::setConfigures the watcher

Description

public EvPeriodic::set (  float $offset  ,  float $interval  ) : void

(Re-)Configures EvPeriodic watcher

Parameters

offset

The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes

interval

The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes

Return Values

No value is returned.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/evperiodic.set.php