GearmanJob::sendStatus
GearmanJob::setReturn
GearmanJob
PHP Manual

# GearmanJob::sendWarning

(PECL gearman >= 0.6.0)

GearmanJob::sendWarning — Send a warning

### Opis

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

Sends a warning for this job while it is running.

### Parametry

`warning`

  A warning messages.

### Zwracane wartości

Zwraca `TRUE` w przypadku powodzenia, `FALSE` w przypadku błędu.

### Zobacz też:

- 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