tokio::task::coop

Module consume_budget

Source

Functions§

  • Consumes a unit of budget and returns the execution back to the Tokio runtime if the task’s coop budget was exhausted.