GoLang GearmanWorker::timeout

request it (301)
GoLang replacement for PHP's GearmanWorker::timeout [edit | history]

Do you know a GoLang replacement for PHP's GearmanWorker::timeout? Write it!

PHP GearmanWorker::timeout

PHP original manual for GearmanWorker::timeout [ show | php.net ]


(PECL gearman >= 0.6.0)

GearmanWorker::timeoutGet socket I/O activity timeout


public int GearmanWorker::timeout ( void )

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


This function has no parameters.

Return Values

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

See Also