class
rails latest stable - Superclass: Object

Class not available on this version

This class is only available on newer versions. The first available version (v8.1.1) is shown here.

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