lib/rails/graphql/request/strategy.rb
def trigger_event(event_name, **xargs)
          return unless listening_to?(event_name)

          objects = listeners[event_name.to_sym] & request.stack
          return if objects.empty?

          Event.trigger(event_name, objects, self, **xargs)
        end
# Trigger an event using a set of filtered objects from +request.stack+.
# {+trigger_all+}[rdoc-ref:Rails::GraphQL::Event#trigger_all].
# The filter is based on the listeners that were collected by the
# strategy.
Trigger an event using a set of filtered objects from +request.stack+.
Trigger an event using a set of filtered objects from + request . stack + .
def trigger_event(event_name, **xargs)
          return unless listening_to?(event_name)
          objects = listeners[event_name.to_sym] & request.stack
          return if objects.empty?
          Event.trigger(event_name, objects, self, **xargs)
        end
def trigger_event ( event_name , ** xargs ) return unless listening_to? ( event_name ) objects = listeners [ event_name . to_sym ] & request . stack return if objects . empty? Event . trigger ( event_name , objects , self , ** xargs ) end
Trigger an event using a set of filtered objects from +request.stack+.
Trigger an event using a set of filtered objects from + request . stack + .
event_name
xargs