GearmanWorker::timeout
PHP Manual
PHP Manual»GearmanWorker»GearmanWorker::timeout

GearmanWorker::timeout

(PECL gearman >= 0.6.0)

GearmanWorker::timeoutGet socket I/O activity timeout

Опис

public function GearmanWorker::timeout(): int

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

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

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

Прогляньте також

To Top