method
instrument
rails latest stable - Class:
ActiveStorage::Previewer
instrument(operation, payload = {}, &block)private
No documentation available.
# File activestorage/lib/active_storage/previewer.rb, line 69
def instrument(operation, payload = {}, &block)
ActiveSupport::Notifications.instrument "#{operation}.active_storage", payload.merge(service: service_name), &block
end