EvPrepare::createStopped
PHP function
Edit on GitHub ✎
(PECL ev >= 0.2.0)
Creates a stopped instance of EvPrepare watcher
Description
EvPrepare::createStopped(callable $callback, mixed $data = null, int $priority = 0): EvPrepare
Creates a stopped instance of EvPrepare watcher. Unlike EvPrepare::__construct, this method doesn't start the watcher automatically.
Parameters
callbackSee Watcher callbacks.
dataCustom data associated with the watcher.
priority
Return Values
Returns EvPrepare object on success.
See Also
EvPrepare::__constructEvWatcher::start