Skip to main content

import_pending

Function import_pending 

Source
fn import_pending(flag: &AtomicBool) -> bool
Expand description

Cheap atomic-load check that the run loop reads at the top of every tick. Pulled out of run_loop so the early-out condition is unit-testable without driving the full 1Hz loop body, which is bound to the production AppHandle<Wry> runtime and a real Scheduler with its camera/video/logger side threads.