Php/docs/gearmanjob.setreturn

来自菜鸟教程
跳转至:导航、​搜索

GearmanJob::setReturn

(PECL gearman >= 0.5.0)

GearmanJob::setReturnSet a return value


说明

public GearmanJob::setReturn ( int $gearman_return_t ) : bool

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


参数

gearman_return_t
A valid Gearman return value.


返回值

Description...