EvPrepare::__construct
PHP function
Edit on GitHub ✎
(PECL ev >= 0.2.0)
Constructs EvPrepare watcher object
Description
EvPrepare::__construct(string $callback, [string $data], [string $priority])
Constructs EvPrepare watcher object. And starts the watcher automatically. If a stopped watcher is needed, consider using EvPrepare::createStopped
Parameters
callbackSee Watcher callbacks.
dataCustom data associated with the watcher.
priority
See Also
EvCheck