©
This document uses PHP Chinese website manual Release
(PECL ev >= 0.2.0)
EvIdle::__construct — Constructs the EvIdle watcher object
$callback
[, mixed $data
[, int $priority
]] )Constructs the EvIdle watcher object and starts the watcher automatically.
callback
See Watcher callbacks .
data
Custom data associated with the watcher.
priority
Watcher priority
Returns EvIdle object on success.