Skip to main content

worker

Function worker 

Source
fn worker(
    asr_path: &Path,
    cfg: &Config,
    models: &TakeModels,
    queue: &Receiver<Job>,
    stopping: &AtomicBool,
    in_flight: &Mutex<Option<CancelToken>>,
    readiness: &Readiness,
)
Expand description

Owns the weights and drains the queue.