Skip to main content

run_loops

Function run_loops 

Source
pub async fn run_loops(
    cfg: SharedConfig,
    stop: Arc<AtomicBool>,
    logs: Arc<Mutex<Vec<LogEntry>>>,
    busy: Arc<AtomicBool>,
    observers: WorkerObservers,
    schedule: LoopSchedule,
) -> Result<()>
Expand description

Spawn the WS session + auto-updater, wait for them. Pulled out of run so tests can drive with a different schedule.