batch_execute

Function batch_execute 

Source
pub async fn batch_execute<F, Fut, T, E>(
    items: Vec<F>,
    config: BatchConfig,
) -> Vec<Result<T, E>>
where F: FnOnce() -> Fut + Send + 'static, Fut: Future<Output = Result<T, E>> + Send + 'static, T: Send + 'static, E: From<String> + Send + 'static,
Expand description

Execute operations in batches with parallelism