Expand description
Dependency-inversion trait for supervised blocking thread spawns.
Crates that cannot depend on zeph-core (e.g. zeph-index) accept an
Option<Arc<dyn BlockingSpawner>> and fall back to raw
tokio::task::spawn_blocking when None. This breaks the cyclic
dependency that would otherwise arise from zeph-index importing
TaskSupervisor from zeph-core.
Traitsยง
- Blocking
Spawner - Trait for spawning CPU-bound work on a supervised blocking thread pool.