- PHP 手册
- 函数参考
- 进程控制扩展
- Ev
- EvLoop
EvLoop::nowUpdate
(PECL ev >= 0.2.0)
EvLoop::nowUpdate — Establishes the current time by querying the kernel, updating the time returned by EvLoop::now in the progress
说明
public EvLoop::nowUpdate(): voidEstablishes the current time by querying the kernel, updating the time returned by EvLoop::now() in the progress. This is a costly operation and is usually done automatically within EvLoop::run() .
参数
此函数没有参数。
返回值
没有返回值。
参见
- EvLoop::now() - Returns the current "event loop time"
- Ev::nowUpdate() - Establishes the current time by querying the kernel, updating the time returned by Ev::now in the progress
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/evloop.nowupdate.php