parent_of?(event) public

No documentation

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

Hide source
# File activesupport/lib/active_support/notifications/instrumenter.rb, line 176
      def parent_of?(event) # :nodoc:
        ActiveSupport.deprecator.warn <<~EOM
          ActiveSupport::Notifications::Event#parent_of? is deprecated and will
          be removed in Rails 7.2.
        EOM
        start = (time - event.time) * 1000
        start <= 0 && (start + duration >= event.duration)
      end
Register or log in to add new notes.