a callback function
der - October 10, 2008 - 16:15
| Project: | Job queue |
| Version: | 6.x-3.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
I think it would be really useful if one could specify a callback function when placing items on the queue. The callback function would be called once the queue item was finished processing and the purpose would be to serve as a way to notify the original module that processing was completed.

#1
Related issue: #330027: Adding views support - implementation suggestions.
#2
Integrate this into the job's callback. If you need to, you could make a wrapper function that calls a function to do the work and another to do the logging.