GearmanTask::sendWorkload
(PECL gearman >= 0.6.0)
GearmanTask::sendWorkload — Send data for a task
说明
public GearmanTask::sendWorkload(string
$data
): int
警告
此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担。
参数
-
data
-
Data to send to the worker.
返回值
The length of data sent, or false
if the send failed.

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/gearmantask.sendworkload.php