phpday 2027 - Call for Papers

GearmanWorker::timeout

(PECL gearman >= 0.6.0)

GearmanWorker::timeout — Obtiene el tiempo de espera de la actividad del socket I/O

Descripción

public function GearmanWorker::timeout(): int

Devuelve el tiempo de espera actual, en milisegundos, de la actividad del socket I/O.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

Un período de tiempo, en milisegundos. Un valor negativo indica que el tiempo de espera es infinito.

Véase también

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top