PHP 8.6.0 Beta 1 is available for testing

EvLoop::timer

(PECL ev >= 0.2.0)

EvLoop::timerCrea un objeto EvTimer watcher asociado con la instancia del bucle de eventos actual

Descripción

final public function EvLoop::timer(
float $after ,
float $repeat ,
callable $callback ,
mixed $data = null ,
int $priority = 0
): EvTimer

Crea un objeto EvTimer watcher asociado con la instancia del bucle de eventos actual.

Parámetros

Todos los argumentos tienen el mismo significado que los de la función EvTimer::__construct() .

Valores devueltos

Devuelve el objeto EvTimer en caso de éxito.

Véase también

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /