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

search for in the

GearmanClient::setTimeout> <GearmanClient::setOptions
[edit] Last updated: Fri, 24 May 2013

view this page in

GearmanClient::setStatusCallback

(PECL gearman >= 0.5.0)

GearmanClient::setStatusCallbackEstablece una llamada de retorno para obtener el estado de una tarea

Descripción

public bool GearmanClient::setStatusCallback ( callable $callback )

Establece una función de llamada de retorno usada para obtener el estado actualizado de un trabajador.. La función acepta un único 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::setStatusCallback - [0 notes]
There are no user contributed notes for this page.

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