©
本文檔使用 php中文網手册 發布
(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.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
[#1] ABC [2013-05-24 19:55:59]
For Gearman PHP 1.1.1
sendData() only works for addTask.
It does not work with doNormal, doBackground or addTaskBackground submission types