(PECL event >= 1.2.6-beta)
EventBase::gotExit — Checks if the event loop was told to exit
public EventBase::gotExit(): bool
Checks if the event loop was told to exit by EventBase::exit().
This function has no parameters.
Returns true, event loop was told to exit by EventBase::exit(). Otherwise false.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventbase.gotexit.php