rskit-worker — Bounded Async Worker Pool
JoinSet + Semaphore worker pool with typed event streaming, panic detection, and graceful drain.
Features
Handler<I,O>trait for implementing task logicEvent<O>with progress / partial / log / result / error kindsTaskHandlefor result retrieval, event subscription, and cancellation- mpsc → broadcast relay (no
T: Syncrequired) - Panic detection and graceful pool drain
Usage
[]
= "0.2.0-alpha.3"
= "0.1"
use ;
;
let pool = new;
let handle = pool.submit.await?;
assert_eq!;