Skip to main content

ReviewConfigSource

Type Alias ReviewConfigSource 

Source
pub type ReviewConfigSource = Arc<dyn Fn(&str) -> ReviewConfig + Send + Sync>;
Expand description

Where the host reads the arming configuration for one session: [review] with that session’s own choice applied. The daemon reloads config.toml every 500 ms already, so this closure just reads whatever it last installed. It must not block, because the host calls it on its loop.

Aliased Type§

pub struct ReviewConfigSource { /* private fields */ }