php8.5
Home/ Manual/ event / eventbase/ EventBase::gotExit

EventBase::gotExit

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Checks if the event loop was told to exit

Description

EventBase::gotExit(): bool

Checks if the event loop was told to exit by EventBase::exit.

Parameters Parameters

Return Values

Returns true, event loop was told to exit by EventBase::exit. Otherwise false.

See Also

  • EventBase::exit
  • EventBase::stop
  • EventBase::gotStop

Source: reference/event/eventbase/gotexit.xml · from the official PHP manual (php/doc-en)