Module tokio::task::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.