GearmanClient::setWorkloadCallback
GearmanJob
GearmanClient
PHP Manual

# GearmanClient::timeout

(PECL gearman >= 0.6.0)

GearmanClient::timeout — Get current socket I/O activity timeout value

### Descrição

public int GearmanClient::timeout ( void )

Returns the timeout in milliseconds to wait for I/O activity.

### Parâmetros

Esta função não possui parâmetros.

### Valor Retornado

Timeout in milliseconds to wait for I/O activity. A negative value means an infinite timeout.

### Veja Também

- GearmanClient::setTimeout() - Set socket I/O activity timeout

GearmanClient::setWorkloadCallback
GearmanJob
GearmanClient
PHP Manual