Php/docs/gearmantask.recvdata

提供:Dev Guides
< Php
移動先:案内検索

GearmanTask::recvData

(PECL gearman >= 0.5.0)

GearmanTask::recvDataRead work or result data into a buffer for a task


説明

public GearmanTask::recvData ( int $data_len ) : array

警告 この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。


パラメータ

data_len
Length of data to be read.


返り値

An array whose first element is the length of data read and the second is the data buffer. Returns false if the read failed.


参考