GearmanJob
PHP Manual

GearmanJob::setReturn

(PECL gearman >= 0.5.0)

GearmanJob::setReturnSet a return value

说明

public bool GearmanJob::setReturn ( int $gearman_return_t )

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

参数

gearman_return_t

A valid Gearman return value.

返回值

Description...


GearmanJob
PHP Manual