Function execute_with_limit

Source
pub async fn execute_with_limit<F, R>(
    tasks: Vec<F>,
    limit: usize,
) -> Vec<Result<R>> 
where F: Future<Output = Result<R>> + Send + 'static, R: Send + 'static,