Method: ActionDispatch::ServerTiming::Subscriber#call

Defined in:
actionpack/lib/action_dispatch/middleware/server_timing.rb

#call(event) ⇒ Object



17
18
19
20
21
# File 'actionpack/lib/action_dispatch/middleware/server_timing.rb', line 17

def call(event)
  if events = ActiveSupport::IsolatedExecutionState[KEY]
    events << event
  end
end