EvIdle::__construct
PHP function
Edit on GitHub ✎
(PECL ev >= 0.2.0)
Constructs the EvIdle watcher object
Description
EvIdle::__construct(callable $callback, [mixed $data], [int $priority])
Constructs the EvIdle watcher object and starts the watcher automatically.
Parameters
callbackSee Watcher callbacks.
dataCustom data associated with the watcher.
priority
See Also
EvIdle::createStoppedEvLoop::idle