lib/rails/graphql/request/strategy.rb
# Check what kind of event listeners the object have, in order to speed
# up processing by avoiding unnecesary event instances
Check what kind of event listeners the object have, in order to speed
up processing by avoiding unnecesary event instances
Check what kind of event listeners the object have in order to speed up processing by avoiding unnecesary event instances
def add_listener(object)
          return unless add_listeners?
          object.all_listeners.each do |event_name|
            listeners[event_name] << object
          end
        end
def add_listener ( object ) return unless add_listeners? object . all_listeners . each do | event_name | listeners [ event_name ] << object end end
Check what kind of event listeners the object have, in order to speed
up processing by avoiding unnecesary event instances
Check what kind of event listeners the object have in order to speed up processing by avoiding unnecesary event instances
object