GearmanJob::sendWarning
(PECL gearman >= 0.6.0)
GearmanJob::sendWarning — Send a warning
说明
public GearmanJob::sendWarning(string
$warning
): boolSends a warning for this job while it is running.
参数
-
warning
-
A warning message.
返回值
成功时返回 true
, 或者在失败时返回 false
。
参见
- GearmanJob::sendComplete() - Send the result and complete status
- GearmanJob::sendException() - Send exception for running job (exception)
- GearmanJob::sendFail() - Send fail status
add a note
User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/gearmanjob.sendwarning.php