(PECL gearman >= 0.6.0)
GearmanTask::sendWorkload — Send data for a task
public GearmanTask::sendWorkload(string $data): int|false
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
dataData to send to the worker.
The length of data sent, or false if the send failed.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmantask.sendworkload.php