async fn run(
state: AppState,
host: HostIpc,
block_id: String,
fps: u32,
seconds: u32,
stop: Receiver<()>,
first: RgbaImage,
started: Instant,
) -> Result<Finished, String>Expand description
The capture loop: a frame every 1/fps second until stopped, out of time, out of room, or failing.