Skip to main content

watch

Function watch 

Source
pub fn watch(
    config_path: PathBuf,
    stop: Arc<AtomicBool>,
    raise: impl Fn() -> bool,
)
Expand description

Until stop, consume raise requests and call raise for each, when it can (raise answers whether the window could be reached).