Identify If Deferred Task Is Running

Snog

Well-known member
Is there any way to identify if a deferred task is running?

I would like to disable certain items in an extension if a deferred task is running.
 
Check out the xf_deferred table. I'm pretty sure you're able to tell from there. If not, you can extend the method that causes a deferred function to run and stop and add your own code in to check for this.
 
I'll probably have to do the later. I was hoping for an easy (built in) way of identifying that a deferred task was calling the function.
 
Top Bottom