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.

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top