Repeating Effect Based on Job Status

Ive an effect that get the current job status (completed / pending). Is there a way to repeat this effect, untill the job status is completed ? I've checked the docs, but I can't seem to find an example of how i can let the scheduler know about the result of my effect
Was this page helpful?