EvPrepare::createStopped
(PECL ev >= 0.2.0)
EvPrepare::createStopped — Creates a stopped instance of EvPrepare watcher
Description
final
public
static
function EvPrepare::createStopped(
callable
$callback
,
mixed $data
= null
,
int $priority
= 0
): EvPrepareCreates a stopped instance of EvPrepare watcher. Unlike EvPrepare::__construct(), this method doesn't start the watcher automatically.
Return Values
Returns EvPrepare object on success.
See Also
- EvPrepare::__construct() - Constructs EvPrepare watcher object
- EvWatcher::start() - Starts the watcher
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
