GoLang GearmanTask::sendWorkload

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



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

PHP GearmanTask::sendWorkload

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

GearmanTask::sendWorkload

(PECL gearman >= 0.6.0)

GearmanTask::sendWorkloadSend data for a task

Description

public int GearmanTask::sendWorkload ( string $data )

Warning

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.

Parameters

data

Data to send to the worker.

Return Values

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

See Also