GearmanClient::setCreatedCallback
Set a callback for when a task is queued
Description
public bool GearmanClient::setCreatedCallback
( string $callback
)
Parameters
-
callback
-
A function to call
Return Values
Returns TRUE
on success or FALSE
on failure.
See Also
- GearmanClient::setDataCallback
- GearmanClient::setCompleteCallback
- GearmanClient::setExceptionCallback
- GearmanClient::setFailCallback
- GearmanClient::setStatusCallback
- GearmanClient::setWarningCallback
- GearmanClient::setWorkloadCallback