EVENT_BASE_LOOPEXIT(3) 1 EVENT_BASE_LOOPEXIT(3)
event_base_loopexit - Exit loop after a time
SYNOPSIS
bool event_base_loopexit (resource $event_base, [int $timeout = -1])
DESCRIPTION
The next event loop iteration after the given timer expires will complete normally, then exit without blocking for events again.
PARAMETERS
o $event_base
- Valid event base resource.
o $timeout
- Optional timeout parameter (in microseconds).
RETURN VALUES
event_base_loopexit(3) returns TRUE on success or FALSE on error.
PHP Documentation Group EVENT_BASE_LOOPEXIT(3)