PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

GearmanWorker::timeout

(PECL gearman >= 0.6.0)

GearmanWorker::timeoutGet socket I/O activity timeout

Description

public int GearmanWorker::timeout ( void )

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

Parameters

This function has no parameters.

Return Values

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

See Also

PHP Manual