EventBase::loop
PHP function
Edit on GitHub ✎
(PECL event >= 1.2.6-beta)
Dispatch pending events
Description
EventBase::loop([int $flags]): bool
Wait for events to become active, and run their callbacks.
Warning
Parameters
flagsOptional flags. One of
EventBase::LOOP_*constants. See EventBase constants.
Return Values
Success
See Also
EventBase::dispatch