array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'evloop.embed.php', 1 => 'EvLoop::embed', ), 'up' => array ( 0 => 'class.evloop.php', 1 => 'EvLoop', ), 'prev' => array ( 0 => 'evloop.defaultloop.php', 1 => 'EvLoop::defaultLoop', ), 'next' => array ( 0 => 'evloop.fork.php', 1 => 'EvLoop::fork', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evloop/embed.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ev >= 0.2.0)
EvLoop::embed — Creates an instance of EvEmbed watcher associated with the current EvLoop object
$other
,$callback
= ?,$data
= ?,$priority
= ?Creates an instance of EvEmbed watcher associated with the current EvLoop object.
All parameters have the same meaning as for EvEmbed::__construct() .
Returns EvEmbed object on success.