GearmanClient::setExceptionCallback

(PECL gearman >= 0.5.0)

GearmanClient::setExceptionCallbackDéfinit une fonction de rappel pour les exceptions émises par l'agent

Description

publicGearmanClient::setExceptionCallback(callable$function): bool

Spécifie une fonction à appeler lorsqu'un agent émet une exception.

Liste de paramètres

function

Fonction à appeler lorsque l'agent émet une exception.

Valeurs de retour

Cette fonction retourne true en cas de succès ou false si une erreur survient.

Voir aussi

To Top