文字

GearmanJob::sendComplete

(PECL gearman >= 0.6.0)

GearmanJob::sendCompleteSend the result and complete status

说明

public bool GearmanJob::sendComplete ( string $result )

Sends result data and the complete status update for this job.

参数

result

Serialized result data.

返回值

成功时返回 TRUE , 或者在失败时返回 FALSE

参见

  • GearmanJob::sendFail() - Send fail status
  • GearmanJob::setReturn() - Set a return value
上一篇: 下一篇: