Function tokio::runtime::coop::with_unconstrained

source ยท
pub(crate) fn with_unconstrained<R>(f: impl FnOnce() -> R) -> R
Expand description

Runs the given closure with an unconstrained task budget. When the function returns, the budget is reset to the value prior to calling the function.