class
ActiveJob::Continuation::Step
v8.1.1 -
Show latest stable
- Superclass: Object
Active Job Continuation Step
Represents a step within a continuable job.
When a step is completed, it is recorded in the job’s continuation state. If the job is interrupted, it will be resumed from after the last completed step.
Steps also have an optional cursor that can be used to track progress within the step. If a job is interrupted during a step, the cursor will be saved and passed back when the job is resumed.
It is the responsibility of the code in the step to use the cursor correctly to resume from where it left off.
Attributes
| [R] | cursor |
| [R] | initial_cursor |
| [R] | job |
| [R] | name |
Files
- activejob/lib/active_job/continuation/step.rb