(PECL gearman >= 0.5.0)
GearmanClient::setCompleteCallback — Définit une fonction à appeler une fois la tâche terminée
Définit une fonction à appeler lorsqu'une tâche se termine. La fonction de rappel doit accepter un seul argument, un objet GearmanTask.
callbackUne fonction à appeler.
Cette fonction retourne TRUE en cas de
succès ou FALSE si une erreur survient.