pub fn new(loader: T) -> Self {
        Self {
            requests: Default::default(),
            delay: Duration::from_millis(1),
            max_batch_size: 1000,
            loader,
        }
    }
/// Create a DataLoader with the `Loader` trait.
Create a DataLoader with the `Loader` trait.
Create a DataLoader with the ` Loader ` trait .
pub fn new(loader: T) -> Self {
        Self {
            requests: Default::default(),
            delay: Duration::from_millis(1),
            max_batch_size: 1000,
            loader,
        }
    }
pub fn new ( loader : T ) -> Self { Self { requests : Default :: default ( ) , delay : Duration :: from_millis ( 1 ) , max_batch_size : 1000 , loader , } }
Create a DataLoader with the `Loader` trait.
Create a DataLoader with the ` Loader ` trait .
loader
T
loader
T