method
run_step_inline
v8.1.1 -
Show latest stable
- Class:
ActiveJob::Continuation
run_step_inline(name, start:, **options, &block)private
No documentation available.
# File activejob/lib/active_job/continuation.rb, line 299
def run_step_inline(name, start,, **options, &block)
@running_step = true
@current ||= new_step(name, start, resumed: false)
instrumenting_step(current) do
block.call(current)
end
@completed << current.name
@current = nil
@advanced = true
ensure
@running_step = false
@advanced ||= current&.advanced?
end