EvLoop::periodic
PHP function
Edit on GitHub ✎
(PECL ev >= 0.2.0)
Creates EvPeriodic watcher object associated with the current event loop instance
Description
EvLoop::periodic(float $offset, float $interval, callable $callback, mixed $data = null, int $priority = 0): EvPeriodic
Creates EvPeriodic watcher object associated with the current event loop instance
Parameters
All parameters have the same meaning as for EvPeriodic::__construct
Return Values
Returns EvPeriodic object on success.
See Also
EvPeriodic::__construct