Method: GraphQL::Tracing::NotificationsTrace#dataloader_fiber_resume

Defined in:
lib/graphql/tracing/notifications_trace.rb

#dataloader_fiber_resume(source) ⇒ Object



138
139
140
141
142
143
144
# File 'lib/graphql/tracing/notifications_trace.rb', line 138

def dataloader_fiber_resume(source)
  prev_ev = Fiber[PREVIOUS_EV_KEY]
  if prev_ev
    begin_notifications_event(prev_ev.name, prev_ev.payload)
  end
  super
end