Crate dataload_rs[][src]

Structs

Loader

Batch loads values from some expensive resource, primarily intended for mitigating GraphQL’s N+1 problem.

Traits

BatchFunction

A BatchFunction defines the method through which some Loader may fetch batched data from some resource. The BatchFunction receives a slice of keys that have been requested during the Loader’s most recent execution frame, and some user defined context struct.