Module: Skylight::Probes::ActiveRecord::FutureResult::FutureResultInstrumentationRails82 Private
- Defined in:
- lib/skylight/probes/active_record_async.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Applied to FutureResult (Rails >= 8.2)
Instance Method Summary collapse
- #result ⇒ Object private
Instance Method Details
#result ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
81 82 83 84 85 |
# File 'lib/skylight/probes/active_record_async.rb', line 81 def result(*, **) name = @intent&.name ActiveSupport::Notifications.instrument("future_result.active_record", { name: name }) { super } end |