Php/docs/eventbase.stop
来自菜鸟教程
EventBase::stop
(PECL event >= 1.2.6-beta)
EventBase::stop — Tells event_base to stop dispatching events
说明
public EventBase::stop ( ) : bool
Tells event_base to stop dispatching events
参数
此函数没有参数。
返回值
Returns true
on success. Otherwise false
.
参见
- EventBase::exit() - Stop dispatching events
- EventBase::gotStop() - Checks if the event loop was told to exit