method
instrumenting_step
v8.1.1 -
Show latest stable
- Class:
ActiveJob::Continuation
instrumenting_step(step, &block)private
No documentation available.
# File activejob/lib/active_job/continuation.rb, line 315
def instrumenting_step(step, &block)
instrument :step, step: step, interrupted: false do |payload|
instrument :step_started, step: step
block.call
rescue Interrupt
payload[:interrupted] = true
raise
end
end