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