Skip to main content

Module blocking_spawner

Module blocking_spawner 

Source
Expand description

Blocking task spawner for disk + hashing offload. Bounded blocking-task spawner that uses block_in_place instead of spawn_blocking, eliminating per-call JoinHandle heap allocations.

Structs§

BlockingSpawner
Executes blocking closures on the current thread (via tokio::task::block_in_place) with bounded concurrency from a semaphore.