GearmanWorker::setTimeout
GearmanWorker::unregister
GearmanWorker
PHP Manual

# GearmanWorker::timeout

(PECL gearman >= 0.6.0)

GearmanWorker::timeout — Get socket I/O activity timeout

### Description

public int GearmanWorker::timeout ( void )

Returns the current time to wait, in milliseconds, for socket I/O activity.

### Liste de paramètres

Cette fonction ne contient aucun paramètre.

### Valeurs de retour

A time period is milliseconds. A negative value indicates an infinite timeout.

### Voir aussi

- GearmanWorker::setTimeout - Set socket I/O activity timeout

GearmanWorker::setTimeout
GearmanWorker::unregister
GearmanWorker
PHP Manual