instance method
checkpoint!
Ruby on Rails 8.1.2
Since v8.1.2Signature
checkpoint!()
Check if the job should be interrupted, and if so raise an Interrupt exception. The job will be requeued for retry.
Source
# File activejob/lib/active_job/continuation/step.rb, line 35
def checkpoint!
job.checkpoint!
end
Defined in activejob/lib/active_job/continuation/step.rb line 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::Continuation::Step