method

ensure_subscribed

ensure_subscribed()
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/server_timing.rb, line 32
      def ensure_subscribed
        @mutex.synchronize do
          # Subscribe to all events, except those beginning with "!" Ideally we would be
          # more selective of what is being measured
          @subscriber ||= ActiveSupport::Notifications.subscribe(/\A[^!]/, self)
        end
      end