Module: GraphQL::Batch::SetupMultiplex::Trace
- Defined in:
- lib/graphql/batch/setup_multiplex.rb
Instance Method Summary collapse
Instance Method Details
#execute_multiplex(multiplex:) ⇒ Object
22 23 24 25 26 27 |
# File 'lib/graphql/batch/setup_multiplex.rb', line 22 def execute_multiplex(multiplex:) GraphQL::Batch::Executor.start_batch(@executor_class) super ensure GraphQL::Batch::Executor.end_batch end |
#initialize(executor_class:, **_rest) ⇒ Object
17 18 19 20 |
# File 'lib/graphql/batch/setup_multiplex.rb', line 17 def initialize(executor_class:, **_rest) @executor_class = executor_class super end |