gue icon indicating copy to clipboard operation
gue copied to clipboard

Report queue item success in a different context

Open mcbenjemaa opened this issue 2 years ago • 2 comments
trafficstars

Actually, I have a code that creates some async jobs but i need to report that the queue item is done, in the job itself. which is a completely separated context.

Can this be achieved?

mcbenjemaa avatar Jun 20 '23 16:06 mcbenjemaa

Jobs do not know anything about other jobs unless you implement some additional functionality to track created jobs that you want to cleanup manually.

vgarvardt avatar Jun 20 '23 17:06 vgarvardt

I have done this via a cache and predefined custom errors.

mcbenjemaa avatar Jun 22 '23 09:06 mcbenjemaa