Method: GraphQL::Dataloader::RequestAll#load

Defined in:
lib/graphql/dataloader/request_all.rb

#loadArray<Object>

Call this method to cause the current Fiber to wait for the results of this request.

Returns:

  • One object for each of keys



14
15
16
# File 'lib/graphql/dataloader/request_all.rb', line 14

def load
  @source.load_all(@keys)
end