Method: ActiveSupport::Notifications::Fanout::Subscribers::Timed#finish

Defined in:
lib/active_support/notifications/fanout.rb

#finish(name, id, payload) ⇒ Object



233
234
235
236
237
# File 'lib/active_support/notifications/fanout.rb', line 233

def finish(name, id, payload)
  timestack = IsolatedExecutionState[:_timestack]
  started = timestack.pop
  @delegate.call(name, started, Time.now, id, payload)
end