tokio
1.42.0
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.