GearmanTask::sendWorkload

(PECL gearman >= 0.6.0)
Send data for a task
public int GearmanTask::sendWorkload ( string $data )
Parameters:
data

Data to send to the worker.

Returns:

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

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.

See also:

GearmanTask::recvData() -

doc_php
2016-02-24 16:08:59
Comments
Leave a Comment

Please login to continue.