EvTimer::createStoppedCreates EvTimer stopped watcher object Description
final
public
static
EvTimer
EvTimer::createStopped
(
double
$after
,
double
$repeat
,
callable
$callback
[,
mixed
$data
= NULL
[,
int
$priority
= 0
]] )Creates EvTimer stopped watcher object. Unlike EvTimer::__construct , this method doesn't start the watcher automatically. Parameters
Return ValuesReturns EvTimer watcher object on success. ExamplesExample #1 Monotor changes of /var/log/messages. Avoid missing updates by means of one second delay
<?php See Also
|