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.

Comments

doc2@drupalfr.org’s picture

drumm’s picture

Status: Active » Closed (works as designed)

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.