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, 17 May 2013

view this page in

GearmanClient::setStatusCallback

(PECL gearman >= 0.5.0)

GearmanClient::setStatusCallbackDéfinit une fonction de rappel pour collecter les statuts d'une tâche

Description

public bool GearmanClient::setStatusCallback ( callable $callback )

Définit une fonction de rappel à utiliser pour récupérer les informations de statut mis à jour depuis l'agent. La fonction doit accepter un seul argument, un objet GearmanTask.

Liste de paramètres

callback

Une fonction à appeler.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Voir aussi



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 | sitemap | contact | advertising | mirror sites