instance method
finish
Ruby on Rails 4.1.16
Since v4.0.13 Last seen in v4.1.16Available in: v4.0.13 v4.1.16
Signature
finish(name, id, payload)
No documentation comment.
Parameters
-
namereq -
idreq -
payloadreq
Source
# File activesupport/lib/active_support/notifications/fanout.rb, line 119
def finish(name, id, payload)
timestack = Thread.current[:_timestack]
started = timestack.pop
@delegate.call(name, started, Time.now, id, payload)
end
Defined in activesupport/lib/active_support/notifications/fanout.rb line 119
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Fanout::Subscribers::Timed