array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'evloop.periodic.php', 1 => 'EvLoop::periodic', 2 => 'Creates EvPeriodic watcher object associated with the current event loop instance', ), 'up' => array ( 0 => 'class.evloop.php', 1 => 'EvLoop', ), 'prev' => array ( 0 => 'evloop.nowupdate.php', 1 => 'EvLoop::nowUpdate', ), 'next' => array ( 0 => 'evloop.prepare.php', 1 => 'EvLoop::prepare', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evloop/periodic.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EvLoop::periodic

(PECL ev >= 0.2.0)

EvLoop::periodicCreates EvPeriodic watcher object associated with the current event loop instance

Açıklama

final public 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

Bağımsız Değişkenler

All parameters have the same maening as for EvPeriodic::__construct()

Dönen Değerler

Returns EvPeriodic object on success.

Ayrıca Bakınız