Skip to main content

active_within

Function active_within 

Source
fn active_within(
    last_active_ms: u64,
    now_ms: u64,
    window_ms: Option<u64>,
) -> bool
Expand description

Whether an agent last active at last_active_ms is within window of now (None: no window, so any agent that ran is).