Skip to main content

pull_since_with

Function pull_since_with 

Source
pub(crate) fn pull_since_with(
    memory: &Path,
    folder: &Path,
    own: &str,
    login: Option<&Login>,
    lock: &Mutex<()>,
    since: i64,
    begun: Instant,
    until: Instant,
    clock: &dyn Fn() -> i64,
    limits: Limits,
) -> bool
Expand description

A pull begun since the alarm (since, Unix seconds; begun, this process’s steady clock) gone through: one that ran meanwhile, waited for (lock: one pull at a time in this process), else this one, begun before until. False when a pull begun since failed, or none could begin in time.