EvTimer::createStoppedCreates EvTimer stopped watcher object 説明
final
public
static
EvTimer EvTimer::createStopped(
float $after
,float $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. パラメータ
戻り値Returns EvTimer watcher object on success. 例例1 Monotor changes of /var/log/messages. Avoid missing updates by means of one second delay
<?php 参考
|