GoLang GearmanTask::sendData

request it (218)
GoLang replacement for PHP's GearmanTask::sendData [edit | history]

Do you know a GoLang replacement for PHP's GearmanTask::sendData? Write it!

PHP GearmanTask::sendData

PHP original manual for GearmanTask::sendData [ show | php.net ]


(PECL gearman <= 0.5.0)

GearmanTask::sendDataSend data for a task (deprecated)


public int GearmanTask::sendData ( string $data )


This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.



Data to send to the worker.

Return Values

The length of data sent, or FALSE if the send failed.

See Also