PHP 8.3.4 Released!

EventBase::loop

(PECL event >= 1.2.6-beta)

EventBase::loopDespacha eventos pendientes

Descripción

public EventBase::loop( int $flags = ?): bool

Espara a que los eventos estén activos y ejecuta sus llamadas de retorno.

Advertencia

Do NOT destroy the EventBase object as long as resources of the associated Event objects are not released. Otherwise, it will lead to unpredictable results!

Parámetros

flags

Flags opcionales. Puede ser una de las constantes EventBase::LOOP_*. Véase constantes EventBase .

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top