Methods
Instance Public methods
finish(name, id, payload)
📝 Source code
# File activesupport/lib/active_support/notifications/fanout.rb, line 265
def finish(name, id, payload)
stack = IsolatedExecutionState[:_event_stack]
event = stack.pop
event.payload = payload
event.finish!
@delegate.call event
end
🔎 See on GitHub
publish_event(event)
📝 Source code
# File activesupport/lib/active_support/notifications/fanout.rb, line 273
def publish_event(event)
@delegate.call event
end
🔎 See on GitHub
start(name, id, payload)
📝 Source code
# File activesupport/lib/active_support/notifications/fanout.rb, line 258
def start(name, id, payload)
stack = IsolatedExecutionState[:_event_stack] ||= []
event = build_event name, id, payload
event.start!
stack.push event
end
🔎 See on GitHub