EvTimer::createStoppedCreates EvTimer stopped watcher object Beschreibung
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. Parameter-Liste
RückgabewerteReturns EvTimer watcher object on success. BeispieleBeispiel #1 Monotor changes of /var/log/messages. Avoid missing updates by means of one second delay
<?phpSiehe auch
|