How to wait for Sling Job. Is there some callback mechanism?
Hi,
I have a requirement , where my job consumer would start a Sling job, I have to wait till that finishes so that the necessary files are present in the correct state (This is a prewritten job) . then the consumer can move forward with it other functions.
How can I do so? What will be the correct way to approach this?
The correct flow is rather
we get an api call, we move that api call to a consumer, wait for the sling job to create the files, then process the initial api call.
