= 0.6.0)GearmanJob::sendData — Send data for a running job說明public GearmanJob::sendData(string $data): boolSends da">

GearmanJob::sendData

(PECL gearman >= 0.6.0)

GearmanJob::sendDataSend data for a running job

說明

public GearmanJob::sendData(string $data): bool

Sends data to the job server (and any listening clients) for this job.

參數(shù)

data

Arbitrary serialized data.

返回值

成功時返回 true, 或者在失敗時返回 false。

參見