GearmanTask::sendWorkload
(PECL gearman >= 0.6.0)
GearmanTask::sendWorkload — Send data for a task
说明
警告
此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担。
参数
data
Data to send to the worker.
返回值
The length of data sent, or false if the send failed.
参见
- GearmanTask::recvData() - Read work or result data into a buffer for a task
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
