For Gearman PHP 1.1.1
sendData() only works for addTask.
It does not work with doNormal, doBackground or addTaskBackground submission types
(PECL gearman >= 0.6.0)
GearmanJob::sendData — Send data for a running job
$data
)Sends data to the job server (and any listening clients) for this job.
data
Arbitrary serialized data.
Returns TRUE
on success or FALSE
on failure.
For Gearman PHP 1.1.1
sendData() only works for addTask.
It does not work with doNormal, doBackground or addTaskBackground submission types