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

EventBase::exit

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Stop dispatching events

Description

EventBase::exit([float $timeout]): bool

Tells event base to stop optionally after given number of seconds.

Parameters

timeout

Optional number of seconds after which the event base should stop dispatching events.

Return Values

Success

See Also

  • EventBase::stop

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