tokio
1.41.1
Module consume_budget
Functions
In tokio::task
Module
tokio
::
task
::
consume_budget
Copy item path
source
·
[
−
]
Functions
§
consume_budget
Consumes a unit of budget and returns the execution back to the Tokio runtime
if
the task’s coop budget was exhausted.