polars_io::pl_async

Function tune_with_concurrency_budget

Source
pub async fn tune_with_concurrency_budget<F, Fut>(
    requested_budget: u32,
    callable: F,
) -> Fut::Output
where F: FnOnce() -> Fut, Fut: Future, Fut::Output: GetSize,
Available on crate feature async only.