EvChild::createStopped
PHP function
Edit on GitHub ✎
(PECL ev >= 0.2.0)
Create instance of a stopped EvChild watcher
Description
EvChild::createStopped(int $pid, bool $trace, callable $callback, [mixed $data], [int $priority]): object
The same as EvChild::__construct, but doesn't start the watcher automatically.
Parameters
pidThe same as for
EvChild::__constructtraceThe same as for
EvChild::__constructcallbackSee Watcher callbacks.
dataCustom data associated with the watcher.
priority
Return Values
See Also
EvChild::__constructEvLoop::child