Module: Skylight::Probes::GraphQL::InstrumentationV2::ExecuteMultiplexNotification Private

Defined in:
lib/skylight/probes/graphql.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

GraphQL versions 2.0.18 - 2.0.21 (or higher?) were missing this notification

Instance Method Summary collapse

Instance Method Details

#execute_multiplex(**metadata, &blk) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



28
29
30
31
32
33
34
35
# File 'lib/skylight/probes/graphql.rb', line 28

def execute_multiplex(**, &blk)
  if @notifications_engine
    @notifications_engine.instrument("execute_multiplex.graphql", , &blk)
  else
    # safety fallback in case graphql's authors unexpectedly rename @notifications_engine
    super
  end
end