Class: GraphQL::Parallel::ExecutionStrategy::FieldResolution
- Inherits:
-
Query::SerialExecution::FieldResolution
- Object
- Query::SerialExecution::FieldResolution
- GraphQL::Parallel::ExecutionStrategy::FieldResolution
- Defined in:
- lib/graphql/parallel/execution_strategy.rb
Instance Method Summary collapse
Instance Method Details
#get_finished_value(raw_value) ⇒ Object
62 63 64 65 66 67 68 |
# File 'lib/graphql/parallel/execution_strategy.rb', line 62 def get_finished_value(raw_value) if raw_value.is_a?(Celluloid::Future) GraphQL::Parallel::FutureFieldResolution.new(field_resolution: self, future: raw_value) else super end end |