PHP - Manual: EventBase::gotStop
2024-11-12
(PECL event >= 1.2.6-beta)
EventBase::gotStop — Checks if the event loop was told to exit
Checks if the event loop was told to exit by EventBase::stop() .
此函数没有参数。
Returns true
, event loop was told to stop by
EventBase::stop()
. Otherwise false
.