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