downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

GearmanClient::setOptions> <GearmanClient::setExceptionCallback
[edit] Last updated: Fri, 07 Jun 2013

view this page in

GearmanClient::setFailCallback

(PECL gearman >= 0.5.0)

GearmanClient::setFailCallbackEstablece una llamada de retorno para cuando falla un trabajo

Descripción

public bool GearmanClient::setFailCallback ( callable $callback )

Establece una función de retorno a usar cuando una tarea no es completada satisfactoriamente. La función acepta un argumento, un objeto GearmanTask.

Parámetros

callback

Función a llamar

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también



add a note add a note User Contributed Notes GearmanClient::setFailCallback - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites