PHP 8.3.4 Released!

GearmanClient::setExceptionCallback

(PECL gearman >= 0.5.0)

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

Description

public GearmanClient::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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top