instance method
start
Ruby on Rails 7.0.10
Since v4.0.13 Last seen in v7.0.10Signature
start(name, id, payload)
No documentation comment.
Parameters
-
namereq -
idreq -
payloadreq
Source
# File activesupport/lib/active_support/subscriber.rb, line 134
def start(name, id, payload)
event = ActiveSupport::Notifications::Event.new(name, nil, nil, id, payload)
event.start!
parent = event_stack.last
parent << event if parent
event_stack.push event
end
Defined in activesupport/lib/active_support/subscriber.rb line 134
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Subscriber