编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « EvStat::prev
  • EvStat::stat »
  • PHP Manual
  • EvStat
  • Configures the watcher

EvStat::set

(PECL ev >= 0.2.0)

EvStat::set — Configures the watcher

说明

public EvStat::set ( string $path , float $interval ) : void

Configures the watcher.

参数

path

The path to wait for status changes on.

interval

Hint on how quickly a change is expected to be detected and should normally be specified as 0.0 to let libev choose a suitable value.

返回值

没有返回值。

相关文章
php ev the evstat classphp evchild constructs the evchild watcher objectphp evchild create instance of a stopped evcheck watcherphp evchild configures the watcherphp evembed create stopped evembed watcher objectphp evembed configures the watcherphp evio configures the watcherphp evloop creates evsignal watcher object associated with the current event loop instancephp evloop creates evstat watcher object associated with the current event loop instancephp evperiodic configures the watcherphp evsignal configures the watcherphp evstat returns the values most recently detected by evphp evstat constructs evstat watcher objectphp evstat create a stopped evstat watcher objectphp evstat configures the watcherphp evtimer configures the watcherphp evwatcher configures whether to keep the loop from returningphp evwatcher sets new callback for the watcherphp evwatcher starts the watcherphp evwatcher stops the watcher
关注编程学问公众号
编程学问网 湘ICP备20001732号