Class: GraphQL::Parallel::ExecutionWorker

Inherits:
Object
  • Object
show all
Includes:
Celluloid
Defined in:
lib/graphql/parallel/execution_worker.rb

Instance Method Summary collapse

Instance Method Details

#resolve(proc) ⇒ Object



5
6
7
# File 'lib/graphql/parallel/execution_worker.rb', line 5

def resolve(proc)
  proc.call
end