Sha256: 9f2d087e5abc96e141e2519d1f221960c8dcc746d176e8c214ffbe916e8c7b30
Contents?: true
Size: 490 Bytes
Versions: 137
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true module GraphQL class Dataloader # @see Source#request_all which returns an instance of this. class RequestAll < Request def initialize(source, keys) @source = source @keys = keys end # Call this method to cause the current Fiber to wait for the results of this request. # # @return [Array<Object>] One object for each of `keys` def load @source.load_all(@keys) end end end end
Version data entries
137 entries across 137 versions & 2 rubygems