PHP - Manual: EventBase::gotStop
2024-12-22
(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
.