Skip to main content

consume_budget

Function consume_budget 

Source
pub async fn consume_budget()
Expand description

Spends one operation of the budget, yielding first when it is spent: a loop of work that awaits nothing else can call it to stay fair.