GearmanJob::sendComplete
(PECL gearman >= 0.6.0)
GearmanJob::sendComplete — Send the result and complete status
Опис
public function GearmanJob::sendComplete(
string $result):
bool
Sends result data and the complete status update for this job.
Параметри
result
-
Serialized result data.
Значення, що повертаються
Повертає true у разі успіху або false в разі помилки.