Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<GearmanClient::setWorkloadCallbackGearmanClient::wait>
^GearmanClientLast updated: Mon, 26 Oct 2026

GearmanClient::timeout

(PECL gearman >= 0.6.0)

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

Description

public function GearmanClient::timeout(): int

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

Parameters

This function has no parameters.

Return Values

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

See Also


<GearmanClient::setWorkloadCallbackGearmanClient::wait>
^GearmanClientLast updated: Mon, 26 Oct 2026