GearmanTask::sendData

(PECL gearman <= 0.5.0)

GearmanTask::sendDataSend data for a task (deprecated)

说明

public GearmanTask::sendData(string $data): int

警告

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担。

参数

data

Data to send to the worker.

返回值

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

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

备份地址:http://www.lvesu.com/blog/php/gearmantask.senddata.php