pub(crate) fn with_unconstrained<R>(f: impl FnOnce() -> R) -> R
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.