Sha256: 9bc6c92a3f5c21187995bed29b311bc2a3e0865b4cd57ae67de15ce9c7453c82
Contents?: true
Size: 530 Bytes
Versions: 39
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true module GraphQL class Dataloader # The default implementation of dataloading -- all no-ops. # # The Dataloader interface isn't public, but it enables # simple internal code while adding the option to add Dataloader. class NullDataloader < Dataloader # These are all no-ops because code was # executed sychronously. def run; end def run_isolated; yield; end def yield; end def append_job yield nil end end end end
Version data entries
39 entries across 39 versions & 2 rubygems