instance method
finish
Ruby on Rails 6.1.7.10
Since v6.0.6 Last seen in v7.0.10Signature
finish(name, id, payload)
No documentation comment.
Parameters
-
namereq -
idreq -
payloadreq
Source
# File activesupport/lib/active_support/notifications/fanout.rb, line 215
def finish(name, id, payload)
stack = Thread.current[:_event_stack]
event = stack.pop
event.payload = payload
event.finish!
@delegate.call event
end
Defined in activesupport/lib/active_support/notifications/fanout.rb line 215
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Fanout::Subscribers::EventObject