tokio
1.46.1
Module consume_
budget
Module Items
Functions
In tokio::
task::
coop
tokio
::
task
::
coop
Module
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.