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

EventBase::gotStop

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Checks if the event loop was told to exit

Description

EventBase::gotStop(): bool

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

Parameters Parameters

Return Values

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

See Also

  • EventBase::exit
  • EventBase::stop
  • EventBase::gotExit

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