EvIdle::createStopped
PHP function
Edit on GitHub ✎
(PECL ev >= 0.2.0)
Creates instance of a stopped EvIdle watcher object
Description
EvIdle::createStopped(string $callback, [mixed $data], [int $priority]): object
The same as EvIdle::__construct, but doesn't start the watcher automatically.
Parameters
callbackSee Watcher callbacks.
dataCustom data associated with the watcher.
priority
Return Values
Returns EvIdle object on success.
See Also
EvIdle::__constructEvLoop::idle