GearmanTask::recvData

(PECL gearman >= 0.5.0)
Read work or result data into a buffer for a task
public array GearmanTask::recvData ( int $data_len )
Parameters:
data_len

Length of data to be read.

Returns:

An array whose first element is the length of data read and the second is the data buffer. Returns FALSE if the read 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::sendData() -

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

Please login to continue.