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

GearmanJob::setReturn

PHP function Edit on GitHub ✎

(PECL gearman >= 0.5.0)

Set a return value

Description

GearmanJob::setReturn(int $gearman_return_t): bool

Sets the return value for this job, indicates how the job completed.

Parameters

gearman_return_t

A valid Gearman return value.

Return Values

Description...

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