Module: ResumableJob::Resumable
- Defined in:
- lib/resumable_job/resumable.rb
Overview
Include in an ActiveJob::Job to make resumable.
Adds a yield guard resumable that catches any thrown instance of ResumeLater, which enqueues the job at a
later time, either by getting a utc in the future from the exception or using a backoff algorithm.