GearmanClient::setClientCallback

Callback function when there is a data packet for a task (deprecated)

&reftitle.description; public `void` `GearmanClient::setClientCallback` `callable` `callback`

Sets the callback function for accepting data packets for a task.

This method has been replaced by `GearmanClient::setDataCallback` in the 0.6.0 release of the Gearman extension.

&gearman.note.callback;
&reftitle.parameters;

&gearman.parameter.callback;
&reftitle.returnvalues;

&return.success;

&reftitle.seealso;

- `GearmanClient::setCompleteCallback`
- `GearmanClient::setCreatedCallback`
- `GearmanClient::setDataCallback`
- `GearmanClient::setExceptionCallback`
- `GearmanClient::setFailCallback`
- `GearmanClient::setStatusCallback`
- `GearmanClient::setWarningCallback`
- `GearmanClient::setWorkloadCallback`