- PHP 手册
- 函数参考
- 进程控制扩展
- Ev
- EvCheck
EvCheck::__construct
(PECL ev >= 0.2.0)
EvCheck::__construct — Constructs the EvCheck watcher object
说明
public EvCheck::__construct( callable$callback
,
mixed
$data
= ?,
int
$priority
= ?)
Constructs the EvCheck watcher object.
参数
-
callback
-
See Watcher callbacks .
-
data
-
Custom data associated with the watcher.
-
priority
-
Watcher priority
参见
- EvPrepare
- EvLoop::check() - Creates EvCheck object associated with the current event loop instance
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/evcheck.construct.php