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
参数
此函数没有参数。
返回值
成功时返回 true
, 或者在失败时返回 false
。
参见
- EventBase::exit() - Stop dispatching events
- EventBase::gotStop() - Checks if the event loop was told to exit
add a note
User Contributed Notes
There are no user contributed notes for this page.