pub fn new(loader: T) -> Self {
        Self {
            cache_factory: NoCache,
            requests: Default::default(),
            delay: Duration::from_millis(1),
            max_batch_size: 1000,
            loader,
            disable_cache: false.into(),
        }
    }
/// Use `Loader` to create a [DataLoader] that does not cache records.
Use `Loader` to create a [DataLoader] that does not cache records.
Use ` Loader ` to create a [ DataLoader ] that does not cache records .
pub fn new(loader: T) -> Self {
        Self {
            cache_factory: NoCache,
            requests: Default::default(),
            delay: Duration::from_millis(1),
            max_batch_size: 1000,
            loader,
            disable_cache: false.into(),
        }
    }
pub fn new ( loader : T ) -> Self { Self { cache_factory : NoCache , requests : Default :: default ( ) , delay : Duration :: from_millis ( 1 ) , max_batch_size : 1000 , loader , disable_cache : false . into ( ) , } }
Use `Loader` to create a [DataLoader] that does not cache records.
Use ` Loader ` to create a [ DataLoader ] that does not cache records .
loader
T
loader
T