GoLang GearmanClient::setTimeout

request it (303)
GoLang replacement for PHP's GearmanClient::setTimeout [edit | history]



Do you know a GoLang replacement for PHP's GearmanClient::setTimeout? Write it!

PHP GearmanClient::setTimeout

PHP original manual for GearmanClient::setTimeout [ show | php.net ]

GearmanClient::setTimeout

(PECL gearman >= 0.6.0)

GearmanClient::setTimeoutSet socket I/O activity timeout

Description

public bool GearmanClient::setTimeout ( int $timeout )

Sets the timeout for socket I/O activity.

Parameters

timeout

An interval of time in milliseconds

Return Values

Always returns TRUE.