class ActiveSupport::Notifications::Fanout::Subscribers::Timed

:nodoc:

def finish(name, id, payload)

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

def publish(name, *args)

:nodoc:
def publish(name, *args)
  @delegate.call name, *args
end

def start(name, id, payload)

def start(name, id, payload)
  timestack = IsolatedExecutionState[:_timestack] ||= []
  timestack.push Time.now
end