lib/rails/graphql/callback.rb
# This does the whole checking and preparation in order to really execute
# the callback method
This does the whole checking and preparation in order to really execute
the callback method
This does the whole checking and preparation in order to really execute the callback method
def call(event, *args, _callback_context: nil, **xargs)
        return unless event.name === event_name && can_run?(event)
        block.is_a?(Symbol) \
          ? call_symbol(event, *args, **xargs) \
          : call_proc(event, _callback_context, *args, **xargs)
      end
def call ( event , * args , _callback_context : nil , ** xargs ) return unless event . name === event_name && can_run? ( event ) block . is_a? ( Symbol ) ? call_symbol ( event , * args , ** xargs ) : call_proc ( event , _callback_context , * args , ** xargs ) end
This does the whole checking and preparation in order to really execute
the callback method
This does the whole checking and preparation in order to really execute the callback method
event
args
_callback_context
xargs