array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'evidle.createstopped.php', 1 => 'EvIdle::createStopped', ), 'up' => array ( 0 => 'class.evidle.php', 1 => 'EvIdle', ), 'prev' => array ( 0 => 'evidle.construct.php', 1 => 'EvIdle::__construct', ), 'next' => array ( 0 => 'class.evio.php', 1 => 'EvIo', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evidle/createstopped.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ev >= 0.2.0)
EvIdle::createStopped — Creates instance of a stopped EvIdle watcher object
$callback
,
mixed $data
= ?,
int $priority
= ?): objectThe same as EvIdle::__construct() , but doesn't start the watcher automatically.
callback
See Watcher callbacks .
data
Custom data associated with the watcher.
priority
Returns EvIdle object on success.