Blunder.Absinthe v1.3.1 Blunder.Absinthe.Dataloader.SafeKV View Source

Safe KV based Dataloader source.

This module provides an enhanced Dataloader.KV source. If there are errors loading the data they are added to the resulting map as {:error} tuples.

Link to this section Summary

Link to this section Functions

Link to this function new(load_function, opts \\ []) View Source
new(load_function :: (... -> any()), opts :: keyword()) :: %Dataloader.KV{
  batches: term(),
  load_function: term(),
  opts: term(),
  results: term()
}