Skip to main content

spawn_renewal

Function spawn_renewal 

Source
fn spawn_renewal(
    store: Arc<LeaseStore>,
    lease: Lease,
    agent: String,
    lost: Arc<LostReason>,
    stopped: Arc<AtomicBool>,
    last_ok_ms: Arc<AtomicI64>,
    on_lost: impl Fn(String) + Send + Sync + 'static,
)