GearmanJob::sendStatus
GearmanJob::setReturn
GearmanJob
PHP Manual

# GearmanJob::sendWarning

(PECL gearman >= 0.6.0)

GearmanJob::sendWarning — Send a warning

### Descrição

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

Sends a warning for this job while it is running.

### Parâmetros

`warning`

  A warning message.

### Valor Retornado

Retorna `TRUE` em caso de sucesso ou `FALSE` em caso de falha.

### Veja Também

- 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