在线文档教程
PHP
处理控制 | Process Control

EvLoop::stop

EvLoop::stop

(PECL ev >= 0.2.0)

EvLoop::stop — Stops the event loop

Description

public void EvLoop::stop ([ int $how ] )

Stops the event loop

Parameters

how

One of Ev::BREAK_* constants .

Return Values

No value is returned.

See Also

  • EvLoop::run() - Begin checking for events and calling callbacks for the loop

  • Ev::stop() - Stops the default event loop

← EvLoop::stat

EvLoop::suspend →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/evloop.stop.php