tokio::task::coop

Function stop

Source
pub(crate) fn stop() -> Budget
Expand description

Forcibly removes the budgeting constraints early.

Returns the remaining budget