php8.5
Home/ Manual/ gearman / gearmanjob/ GearmanJob::sendComplete

GearmanJob::sendComplete

PHP function Edit on GitHub ✎

(PECL gearman >= 0.6.0)

Send the result and complete status

Description

GearmanJob::sendComplete(string $result): bool

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

Parameters

result

Serialized result data.

Return Values

Success

See Also

  • GearmanJob::sendFail
  • GearmanJob::setReturn

Source: reference/gearman/gearmanjob/sendcomplete.xml · from the official PHP manual (php/doc-en)