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
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

doc2@drupalfr.org - November 4, 2008 - 16:45

#2

drumm - September 13, 2009 - 02:07
Status:active» by design

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.

 
 

Drupal is a registered trademark of Dries Buytaert.