method

collect_events

Importance_0
v8.0.0 - Show latest stable - 0 notes - Class: Subscriber
collect_events() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/server_timing.rb, line 23
      def collect_events
        events = []
        ActiveSupport::IsolatedExecutionState[KEY] = events
        yield
        events
      ensure
        ActiveSupport::IsolatedExecutionState.delete(KEY)
      end
Register or log in to add new notes.