instance method
instrumenting_step
Ruby on Rails edge
Since v8.1.3.1 Private — implementation detail, not part of the public APIAvailable in: v8.1.3.1 edge
Signature
instrumenting_step(step, &block)
No documentation comment.
Parameters
-
stepreq -
blockblock
Source
# File activejob/lib/active_job/continuation.rb, line 342
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
Defined in activejob/lib/active_job/continuation.rb line 342
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::Continuation