GearmanJob::sendStatus
GearmanJob::setReturn
GearmanJob
PHP Manual

# GearmanJob::sendWarning

(PECL gearman >= 0.6.0)

GearmanJob::sendWarning — Send a warning

### 説明

public bool GearmanJob::sendWarning ( string `$warning` )

Sends 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

GearmanJob::sendStatus
GearmanJob::setReturn
GearmanJob
PHP Manual