(PECL gearman <= 0.5.0)
GearmanJob::complete — 傳送結果並完成狀態 (已棄用)
$result
傳送結果資料和此工作的完成狀態更新。
注意: 此方法已在 Gearman 擴充套件 0.6.0 版本中由 GearmanJob::sendComplete() 取代。
注意:
此方法已在 Gearman 擴充套件 0.6.0 版本中由 GearmanJob::sendComplete() 取代。
result
序列化的結果資料。
成功時傳回 true,失敗時傳回 false。
true
false