Module tokio::task::blocking

source ·

Functions

  • Runs the provided blocking function on the current thread without blocking the executor.
  • Runs the provided closure on a thread where blocking is acceptable.