polars_io::pl_async

Function with_concurrency_budget

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