GearmanTask::sendWorkload

(PECL gearman >= 0.6.0)

GearmanTask::sendWorkloadSend data for a task

Description

public GearmanTask::sendWorkload(string $data): int|false

Warning

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.

Parameters

data

Data to send to the worker.

Return Values

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

See Also

add a note add a note

User Contributed Notes

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