Active Job Continuations was recently merged into Rails. We recommend that you go through the description in the pull request since they are so well written.
If you prefer watching a video to learn about Active Job Continuations, then we made a video for you.
In short, this feature allows you to configure your jobs in such a manner that the job can be interrupted and next time when the job starts, it'll start from a particular point so that the work done so far is not totally wasted.
This work is highly inspired by Shopify's job-iteration gem.