GearmanJob::complete

Send the result and complete status (deprecated)

説明

public bool GearmanJob::complete(string $result)

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

注意:

This method has been replaced by GearmanJob::sendComplete in the 0.6.0 release of the Gearman extension.

パラメータ

result

Serialized result data.

戻り値

成功した場合に true を、失敗した場合に false を返します。

参考

  • GearmanJob::sendFail
  • GearmanJob::setReturn